Which JMS provider are you using? JBoss Messaging or another one?
Thanks for response,
I am trying to connect to a remote Sonic MQ using the JBOOSS Messaging.
I was also looking for an alternate configuration that allows me to configure the MDB on the same JBOSS instance listening to different Brokers.
Something like using mulitple <message-driven> </message-driven> referring to same MDB, pointing to different brokers.
I believe you meant to say, you were trying to make the JBoss Application Server to connect to Sonic MQ.
You should look at JCA and JBossAS server documentation, and ask for help JCA's user forum.
JBoss Messaging itself can't connect to Sonic MQ.