Protocol Used in JMS
1 posts in topic
Flat View  Flat View

Posted By:   Sudheendra_YS
Posted On:   Tuesday, June 12, 2001 10:18 PM

I am trying to use different windows in my JMS application. Message sender, receiver and J2ee server all on different windows. How can I look for a registered Queue in the server from another window(either Sender or receiver)? Which protocol we have to use in Context.lookup(queueName)?

Like in RMI (where we use rmi://ipAddress.port) is there any special protocol for JMS?

please answer.

Re: Protocol Used in JMS

Posted By:   Nicholas_Whitehead  
Posted On:   Saturday, June 23, 2001 06:05 AM

I am not completely sure I understand what you are asking but...

Most JMS implementations store representations of their Queues in JNDI. So the standard is clear but the implementation of JNDI will vary a lot. For example, we are using MQSeries with LDAP, so to look up queues we use: ldap://host: but if you were to use WebLogic, it might be t3://host:.

In conclusion, consult the documentation of your JMS vendor, keeping an eye out for references to the use of JNDI.


About | Sitemap | Contact