I have two Containers with two brokers.
One container contains a ESBContainer with a Java Service Type.
What is the easiest way to send a message to a queue on the other broker?
You can use Dynamic Routing.
see the sonicMQ config and manage document.
first create a routing from your first brokerto the second broker.
configure your exit endpoint as follow (for the destination Name label) secondBrokerNodeName::myqueue
You can also configure you exit endpoint to connect the second broker directly, but you won't be able to setup exactly once QOS.
Thanks, you pointed me in the right direction.
I wanted to do it programmatically, so now I create a dynamic endpoint and send the message to it.
It works fine :-)