Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS issue  RSS feed

 
Viv Gupta
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam working on application that implements JNDI & JMS on Tomcat 5.0. The JMS provider that Iam using is OpenJMS. I am writing this application just to clear my concepts of JNDI and JMS. Now my question is - How can I bind a QueueConnectionFactory to a JNDI so that the sender/receiver can lookup JNDI for ConnectionFactory.

I don't want to use the JNDI of openJMS. Iam using fileSystem JNDI provider of SUN. The code goes like this -



QueueConnectionFactory is an interface, so how can bind the object of QueueConnectionFactory to JNDI so that the sender/receiver can lookup for the connection factory ?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Major Wanders"

Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your real first and real last names.

Thanks

Mark
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!