activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Network of Broker - Can a client consume a message ?
Date Thu, 18 Feb 2010 13:41:53 GMT
Hi Charles,

if the local broker have a consumer on the queue, the message will be
dispatched to it. The message can't be both consumed locally and forwarded
to the remote broker. You can also use 'dynamicOnly' property, to instruct
the broker only to forward messages if there are active consumers on the
remote broker.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Feb 18, 2010 at 2:34 PM, cmoulliard <cmoulliard@gmail.com> wrote:

>
> Hi,
>
> I try to understand how the topology of brokers works with ActiveMq and I
> have the following question
>
> When a JMS producer creates a message which is placed in a queue (of a
> broker making part of a network of broker), can this message be immediately
> consumed by the JMS consumer client or does it have to wait that the
> message
> has been replicated to the other queue of the activemq broker before to
> consume ?
>
> If a client has access to two instances of ActiveMQ designed as a network
> of
> brokers and that the message has not been replicated to the second
> instance.
> What will happen if the client has consumed a message on the first instance
> when the second instance will be restarted and messages replicated. Will
> the
> message be consumed again by the client after replication ?
>
> Regards,
>
> Charles
>
> -----
> Charles Moulliard
> SOA Architect
>
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context:
> http://old.nabble.com/Network-of-Broker---Can-a-client-consume-a-message---tp27637643p27637643.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message