You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by pplive <pp...@gmail.com> on 2007/08/15 08:33:13 UTC

An interesting requirement about Queue-2-Queue transfer...

I am a newcomer of AMQ, and I want to ask whether AMQ supports Queue-2-Queue
transfer?
Okay, here are more details..
Two different machines, Broker A (172.168.25.3) has a Queue
AA(example.queue.a), Broker B(172.168.25.98) has another Queue
BB(example.queue.a).
Now,I want to send a message MSG to AA, and I want AA automatically dispatch
MSG to BB, is it possible ?
Namely,
1. I want AA automatically dispatch all  received messages to BB, while AA
and BB are in different machines. 2. Plus, sometimes, some messages are too
large and it will take a long time to finish transferring, I wonder whether
AA will re-transfer the un-finished message to BB when BB is restarted.
Thanks very much..
-- 
View this message in context: http://www.nabble.com/An-interesting-requirement-about-Queue-2-Queue-transfer...-tf4271401s2354.html#a12157227
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: An interesting requirement about Queue-2-Queue transfer...

Posted by James Strachan <ja...@gmail.com>.
On 8/15/07, pplive <pp...@gmail.com> wrote:
>
> I am a newcomer of AMQ, and I want to ask whether AMQ supports Queue-2-Queue
> transfer?
> Okay, here are more details..
> Two different machines, Broker A (172.168.25.3) has a Queue
> AA(example.queue.a), Broker B(172.168.25.98) has another Queue
> BB(example.queue.a).
> Now,I want to send a message MSG to AA, and I want AA automatically dispatch
> MSG to BB, is it possible ?
> Namely,
> 1. I want AA automatically dispatch all  received messages to BB, while AA
> and BB are in different machines. 2. Plus, sometimes, some messages are too
> large and it will take a long time to finish transferring, I wonder whether
> AA will re-transfer the un-finished message to BB when BB is restarted.
> Thanks very much..

Sounds like you either want to setup a store and forward network
between the brokers
http://activemq.apache.org/networks-of-brokers.html

or create an EIP route from one broker to another
http://activemq.apache.org/enterprise-integration-patterns.html
-- 
James
-------
http://macstrac.blogspot.com/