On Dec 5, 2008, at 8:46 AM, Oliver Günther wrote:

Also, if the server should use the same ConnectionFactory as the remote
client (which is needed, then the client and and a server bean what to
send/receive messages on the same topic/queue) the openejb.xml needs to be
changed:

<Resource id="My JMS Resource Adapter" type="ActiveMQResourceAdapter">
 BrokerXmlConfig broker:(tcp://localhost:61616)?useJmx=false
 #ServerUrl vm://localhost?async=true
 ServerUrl tcp://localhost:61616
 DataSource My Unmanaged DataSource
</Resource>

Don't know if this can also be done via properties ?!

Any of the properties in an openejb.xml can be overridden as stated in the docs. It gets a little clunky with spaces but is still doable:

 -DMy\ JMS\ Resource\ Adapter.ServerUrl=tcp://localhost:61616


-David

Reply via email to