You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Hiram Chirino <hi...@hiramchirino.com> on 2007/06/07 01:59:49 UTC
Re: Equivalent message consumption
Hi there currently is no way to do this. ActiveMQ tries to load
balance messages across consumers, but if a consumer is running slower
than another consumer, then the faster consumer will get more
messages.
Regards,
Hiram
On 5/24/07, chahir <ch...@yahoo.fr> wrote:
>
> Hi everybody,
>
> I've connected two brokers (B1 & B2) in P2P mode (no multicast discovery).
> I have a message sender and a message receiver (queue) on the B1 side and a
> receiver on the B2 side.
> When I send a large number of messages by the sender (B1 side), I see that
> the receiver of the same side consumes more messages than the other on the
> B2 side.
> What can I modify to a have an equivalent number of message consumption
> between the two receivers.
> activemq.xml:
>
> <networkConnectors>
> <networkConnector name="P2P"
> uri="static://(tcp://PC1:61616,tcp://PC2:61616)"
> dynamicOnly="true"
> conduitSubscriptions="false"
> networkTTL="2"
> decreaseNetworkConsumerPriority="false" />
> </networkConnectors>
>
> Thank you.
>
> --
> View this message in context: http://www.nabble.com/Equivalent-message-consumption-tf3809733s2354.html#a10782589
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>
--
Regards,
Hiram
Blog: http://hiramchirino.com