activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Equivalent message consumption
Date Wed, 06 Jun 2007 23:59:49 GMT
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 <chahir_e@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

Mime
View raw message