the 'forward' bit of store and forward is actually, 'consume and
forward', so the message is removed from A and forwarded to B, it only
exists in one location at a time. So for a Queue, it will be consumed
from A or B but not both.

On 15 December 2011 18:47, techbuddy <santo...@yahoo-inc.com> wrote:
> Hi,
>
> As I understand,broker networks could be configured with bidirectional
> message push for cross-geographic fail over of message processing through
> the store-and-forward method. So, if broker A and B form a simple 2-member
> network,possibly over a WAN (spanning multiple geographies), with
> bidirectional push enabled, how do we ensure that a given message M sent to
> A or B is processed only once? If the message is originally published to A,
> it'd first be stored there and then forwarded to B.Now, assuming both A and
> B have consumers attached to them, M would get delivered and hence processed
> twice. How do I prevent this duplicate processing?Am I missing anything
> here?
>
> -techB
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Broker-Networks-and-duplicate-message-delivery-tp4201147p4201147.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://fusesource.com
http://blog.garytully.com

Reply via email to