I just realized: since the queue on the other broker has a different name,
you can use a composite destination to get a copy of the message into the
xyz queue on your main broker, and federate the two brokers and use normal
message forwarding to get them to the consumers on the other broker.
On May 21, 2015 7:20 AM, "Tim Bain" <tb...@alumni.duke.edu> wrote:

> You could use mirrored queues (
> http://activemq.apache.org/mirrored-queues.html) and Camel routes that
> consume from the mirrored queues and publish to the other broker's real
> queues.
>
> To make that work, you'll need to set up your Camel routes on one and only
> one broker along the path each message will take from producer to consumer;
> if it doesn't cross such a broker, you'll miss that message; if you cross
> multiple such brokers, you'll get duplicate messages.  If you only have a
> single broker, that's easy.  If not, look for a single broker that all
> messages will pass through.  If you have a network of brokers where you
> can't predict where producers and consumers will be nor the path between
> them, it may not be possible to choose a broker or set of brokers that
> guarantees once-and-only-once semantics, and you may have to choose whether
> you'd prefer to miss messages or get duplicate messages.
>
> Tim
> On May 21, 2015 2:20 AM, "vallala...@gmail.com" <vallala...@gmail.com>
> wrote:
>
>> Hi TIm,
>>
>>  thankyou for your reply.
>>
>> we have first activemq server where we store messages on some abc queue.
>> our
>> client want same abc queue data from first server to second server xyz
>> queue.
>>
>> just want move same data to some other activemq server . if could give
>> some
>> info on this it could be more helpful for our requirement.
>>
>> ActiveMQ 1st server    --move the same data 2nd server- ActiveMQ 2nd
>> server
>>
>> Customer queue
>> Registration queue
>>
>>
>> please let me know if you still need any more info
>>
>> Regards,
>> Ramakrishna
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/replicate-Activemq-messages-from-one-server-to-another-activeMq-server-tp4696552p4696753.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>

Reply via email to