On 4/10/07, wallace <[EMAIL PROTECTED]> wrote:

Thanks for response.

This works for me too. But it is a very big limitation to require the client
to hard code the physical queue name (in your example, example.MyQueue). It
defeats the purpose of jndi.

The properties file can be put in the jndi.properties on the classpath
as mentioned in the documentation; so there's no need to use the
actual physical queue names in your Java code if you want.

http://activemq.apache.org/jndi-support.html

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to