Hi All, I wrote a simple JMS QueueSender program. Here I found out that we have to write the following lines :
First please tell me the significance of these lines. Without these lines the program gives an exception. Also when I write these lines in jndi.properties file and place it in classpath then it doesn't recognizes the properties file and gives an exception. Also if i comment line 2 in the properties then it also works fine. SO what exactly is the significance of lines 1 and 2.
Also do we have to create QueueConnectionFactory ourselves or it is provided by JBoss.