Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS - How to connect to a QUEUE setup on some server from stand alone application?

 
Tom Raj
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
How would I read messages from a queue set up on some server. Can I use jndi, and what are the properties I have to set for the initial context?

Thanx
Tom
 
Robert Hayes
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You basically do the same thing that you would normally do from an app running inside the App Server; except you do it from a remote InitialContext. Setting up a remote InitialContext is dependant on your App Server vendor.

If it's OAS I can help a bit more.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic