MDB listening to a remote Topic or Queue

Hi all,I have a Message Driven Bean and I want to deploy it on my server to "listen" for a Topic or Queue on a remote server. Is this suported? How can I do it?Thanks in advance,DGuerra
[220 byte] By [dguerra] at [2007-11-26 9:51:40]
# 1

> Hi all,

> I have a Message Driven Bean and I want to deploy it

> on my server to "listen" for a Topic or Queue on a

> remote server.

> Is this suported? How can I do it?

Yes. If you want to listen to destinations off a remote Sun Java System Message Queue(SJSMQ) broker, you could

- If you want all your applications [MDBs] to use a remote broker, modify the domain's JMS service to make it REMOTE and point to your remote broker. Your MDB automatically connects to the REMOTE broker. More information available off

http://docs.sun.com/app/docs/doc/819-2554/6n4r8s7oi?a=view

and accessing remote servers at

http://docs.sun.com/app/docs/doc/819-3658/6n5s5nkll?a=view

- If you want just this one MDB to connect to a remote SJSMQ broker, in the connection factory pointed to by the mdb-connection-factory of your MDB., set the addressList property to point to the REMOTE broker of your choice.

sun-ejb-jar.xml MDB configuration at http://docs.sun.com/app/docs/doc/819-3659/6n5s6m59n?a=view#beaiv

Thanks

--Siva.

sivakumart at 2007-7-7 1:05:07 > top of Java-index,Application & Integration Servers,Application Servers...