users@glassfish.java.net

Re: Trying to get a Message Driven Bean to connect to an external OpenMQ Broker

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Wed, 16 Jan 2013 17:16:19 +0000

On 16/01/2013 12:35, forums_at_java.net wrote:
> I am attempting to create a message driven bean that will read messages off a
> topic on another machines standalone OpenMQ broker. Is there a way to do
> this? I don't want my Glassfish instance to use this remote broker as it's
> main broker. I just want this specific bean to access a different broker to
> receive messages. Is this possible? Thanks,

Yes. Set the MDB's activation property "addressList" to the address of the standalone broker (typically
mq://brokerhost:brokerport).

http://docs.oracle.com/cd/E26576_01/doc.312/e24943/jmsra-properties.htm#aeooq

Nigel