activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bausewein <>
Subject Re: Define ServerUrl externally for ActiveMQ Resource Adapter
Date Fri, 10 Oct 2008 18:36:37 GMT

Fush wrote:
> Hi!
> I have deployed the activemq-rar-5.1.0.rar to my Jboss server. But I don't
> like the fact that ServerUrl is defined in the ra.xml inside the rar. I
> would like to set the value of this property (ie the url itself) in a more
> accessible place, for example in a properties file in the jboss conf
> directory. Or in the ejb-jar.xml for the message driven bean that uses the
> adapter. Is there a way to do this?

This one is much more flexible:*checkout*/jmsjca/jmsjca/unifiedjms/src/userdoc/sun-jms-adapter-readme.html

"dynamic" connection factory: the application code in an EJB can specify the
URL to a different JMS server in the username (createConnection(username,
password)) so that it can connect to an arbitrary JMS server, rather than
being limited to the ones bound in JNDI.

Not sure whether it will work with ActiveMQ.

I want to try it, soon, probably by adding some configuration classes 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message