Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I make my simple client read message from remote JMS server?

843830Mar 1 2010 — edited Mar 1 2010
Hi

Im a newbie to JMS. I am following this tutorial: http://java.sun.com/products/jms/tutorial/

I need to write a "simple" JMS client, that reads messages from a JMS queue on a remote Weblogic JMS server. How do I specify to my client where to find this queue/server? In the jndiContext.lookup(queueName) I guess, but what are the protocol syntax for looking up my queue/server on a remote machine, how do I specify the hostname and what not?

Also do I have to specify something specific for my QueueConnectionFactory jndi lookup?

Thank you
Søren
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 29 2010
Added on Mar 1 2010
1 comment
224 views