Thank you for your response, it is just that it is too advanced for me. When I downloaded activemq, there was example code on creating producer, consumer, embedded broker etc. I was wondering if there is an example that I could run, where I could see a broker moving info to another one.
I would like the "client" to have an embedded broker, and the server to be a standalone. I just need to see the real thing, I don't understand the text. Adrian Co wrote: > > 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? >>>> >>>> >>> >>> >> >> > > > -- View this message in context: http://www.nabble.com/Any-real-Broker-to-Broker-example-tf3128962.html#a8740107 Sent from the ActiveMQ - User mailing list archive at Nabble.com.