Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of in JMS using JBoss

Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 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.

Please clear my doubts. Thanks in advance
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic