you can create a connection factory through admin console, you just need to add this property during creation
property : imqAddressList
value : mq://<REMOTEBROKERHOST>:<PORT>
The same property needs to be added when you create the administered object (Queue).
you could then use (llokup) these resources in your application and use them,
[Message sent by forum member 'rampsarathy' (rampsarathy)]
http://forums.java.net/jive/thread.jspa?messageID=213649