File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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