one server will have to act as the broker and it should run the jms broker in embedded or local mode.
on the other server, you need to configure it to access a REMOTE broker. I believe you have to delete the default_JMS_host and create your own, which points to the 1st server's ip/jms port.
[Message sent by forum member 'madgame' (madgame)]
http://forums.java.net/jive/thread.jspa?messageID=270826