activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Sync between 2 queues accross DC
Date Tue, 29 May 2012 08:02:48 GMT
Network connector acts as a regular consumer, the message is
dispatched to it and it'll ack that it have which will cause the local
broker to remove it.

Regards
--
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dejanb@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Mon, May 28, 2012 at 6:28 PM, Mohit Anchlia <mohitanchlia@gmail.com> wrote:
> On Mon, May 28, 2012 at 8:58 AM, Dejan Bosanac <dejan@nighttale.net> wrote:
>
>> Yes. The term sync you used in the original email is a bit confusing,
>> as a message can be only in one broker queue at the time. They will
>> get forwarded to the remote broker if there is demand (consumers) for
>> that queue on the remote broker.
>>
>
> Thanks! Does it send a copy or does it actually send and delete the copy?
> Or does it delete only after it's consumed?
>
>>
>> Regards
>> --
>> Dejan Bosanac
>> Senior Software Engineer | FuseSource Corp.
>> dejanb@fusesource.com | fusesource.com
>> skype: dejan.bosanac | twitter: @dejanb
>> blog: http://www.nighttale.net
>> ActiveMQ in Action: http://www.manning.com/snyder/
>>
>>
>>  On Mon, May 28, 2012 at 5:23 PM, Mohit Anchlia <mohitanchlia@gmail.com>
>> wrote:
>> > On Mon, May 28, 2012 at 7:18 AM, Dejan Bosanac <dejan@nighttale.net>
>> wrote:
>> >
>> >> Hi,
>> >>
>> >> store and forward is massively used, but you cannot sync queues across
>> >> brokers. In network of brokers queue is distributed over brokers and
>> >> messages will be load balanced between brokers.
>> >>
>> >> Could you please elaborate?
>> >
>> > If I publish a message on queue A in DC1 with no consumer wouldn't it get
>> > replicated to queue A in DC2 with consumer? Is this what you mean?
>> >
>> >
>> >
>> >>
>> >> Regards
>> >> --
>> >> Dejan Bosanac
>> >> Senior Software Engineer | FuseSource Corp.
>> >> dejanb@fusesource.com | fusesource.com
>> >> skype: dejan.bosanac | twitter: @dejanb
>> >> blog: http://www.nighttale.net
>> >> ActiveMQ in Action: http://www.manning.com/snyder/
>> >>
>> >>
>> >> On Sun, May 27, 2012 at 7:52 PM, Mohit Anchlia <mohitanchlia@gmail.com>
>> >> wrote:
>> >> > What's the best way to sync messages between 2 DCs? Does anyone using
>> >> store
>> >> > forward currently between DCs?
>> >>
>>

Mime
View raw message