I do not understand what code you are looking for.
In the vm transport reference there is a section there about
vm://localhost?brokerConfig=xbean:activemq.xml
This is the uri you are going to use in your connection factory. It will
automatically start an embedded broker with the specified config.
MqUser wrote:
In the case of a embeded broker there is actual code to run.
Can I get a hold of some code to run showing a broker to broker connection.
Adrian Co wrote:
I guess this is related to your previous post about an embedded broker
and a remote broker.
Here's how you create an embedded broker.
http://www.activemq.org/site/vm-transport-reference.html
Here's how you create a network connection.
http://www.activemq.org/site/networks-of-brokers.html
Just create and expose a transport connector in the embedded and remote
broker and connect to them using the network connector of each broker.
MqUser wrote:
I can see the code on the web pages but is there a working example of a
broker to broker connection?