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 Tue, 23 Jan 2007 07:33:40 GMT
On 1/23/07, Paul Moser <apache@paulmoser.co.uk> wrote:
> I'm having problems looking up connection factories via JNDI, from a
> standalone Java client when ActiveMQ is integrated with JBoss using a RAR.


FWIW when using JMS, JNDI is a purely client side thing; so its got
nothing to do with the RAR.  The RAR is mainly just used to allow
integration of a JMS client with an MDB/EJB server. (Am also not sure
what happens if you try using a remote JNDI server to host client side
JMS client objects)

Also the ActiveMQ Resource Adapter should not be used from a stand
alone client - its only to be used inside a J2EE container (or MDP
container like Jencks).


So I'd recommend ignoring the RAR completely on the stand alone client
and just use ActiveMQ's JNDI provider (with easy to edit properties
file)

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


-- 

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

Mime
View raw message