activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: JBoss integration and lookup of connection factories.
Date Wed, 11 Apr 2007 19:34:17 GMT
On 4/10/07, wallace <wallace3000@yahoo.com> 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/

Mime
View raw message