Hello, I have try to attach MQ1->MQ2->MQ3 . it seems that I can go throught the network from MQ1->MQ2 but not MQ2-> MQ3.
<networkConnector networkTTL="2" name="mq1->mq2" uri="static://(tcp:// 192.9.208.11:61616)"/> <networkConnector name="mq2->mq3" uri="static://(tcp://192.9.208.12:61616 )"/> I wanna stay on 192.9.208.10 to send the message to the queue on 192.9.208.12. transportConnectors in MQ1,MQ2,MQ3 seems exist as default, so I probably don't need to add some extra. <transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> <transportConnector name="ssl" uri="ssl://localhost:61617"/> <transportConnector name="stomp" uri="stomp://localhost:61613"/> <transportConnector name="xmpp" uri="xmpp://localhost:61222"/> </transportConnectors> I not sure how the way AMQ works. Is the AMQ will make every MQ's broker has the same queue(like mirror queues)? and the consumer will be able to fetch the messages from one of the brokers? *OR* can I specify which broker and which queue I want to transport to? suppose the broker's name is MyBroker, and I run an consumer client make the queue is myQ. and from the producer's client, I just need to send the message to [EMAIL PROTECTED] is it any similar way to get this done? it will be much simple. ------------------------------------------- I am working in Java to do the produce&consumer base on their examples. so if you could provide a piece of code, I will be also appreciated. > > > > On Wed, Jul 30, 2008 at 11:40 AM, Joe Fernandez < > [EMAIL PROTECTED]> wrote: > >> >> You'll need to set up forwarding bridges (networkConnectors) from MQ1 to >> MQ2 >> and from MQ2 to MQ3. Make sure to set networkTTL to 2. MQ2 and MQ3 will >> also >> need transportConnectors. See the following page. >> >> http://activemq.apache.org/networks-of-brokers.html >> >> You can also download a free ActiveMQ user guide from >> www.ttmsolutions.com >> >> Joe >> >> >> Templexp Tan wrote: >> > >> > Hello everyone, >> > >> > suppose I have 3 nodes. each node has the MQ broker that connects to the >> > next broker. >> > >> > MQ1 ----- > MQ2 ------> MQ3 >> > >> > >> > >> > I wanna produce some messages from MQ1 to MQ3. and MQ1 and MQ3 are >> > physically seperated. how can produce the message from MQ1 to MQ3 >> throught >> > MQ2? >> > >> > on the network , what's the name space of the MQ3? Is it inside the >> > activemq.xml? anything relate with the brokername? but what if the name >> > are >> > duplicated on the network, what's its unqinue identifier? >> > >> > I am the beginer of the AMQ, and very confuse on this point, anyone >> could >> > get me a hint on it. Thanks a lot. :) >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Where-is-the-ActiveMQ%27s-Destination--tp18724908p18725614.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >