prefetch is relevant yes. but only when the message load does not exceed the
prefetch, so only when the system is not loaded!

On 27 May 2010 13:44, cmoulliard <cmoulli...@gmail.com> wrote:

>
> So the system is static as we must adapt the prefetch size according to a
> detection of a slow consumer if we want adapt the balancing of the messages
> !!
>
>
>
> Gary Tully wrote:
> >
> > Two things to note. The networkBridge is the consumer and it will be as
> > fast
> > as a send to the master.
> > With the default prefetch of 1000,  and 500 messages, there will be
> > equitable delivery of messages as the slowness is only visible when the
> > prefetch is reached (and there have been no acks).
> >
> > On 27 May 2010 12:10, cmoulliard <cmoulli...@gmail.com> wrote:
> >
> >>
> >> Hi,
> >>
> >> I would like to know if it is possible when we have created a bridge
> >> between
> >> two brokers (br1 and br2) and where we have a fast consumer connected on
> >> br2
> >> and a slow on br1 that the broker br1 send more messages to the br2
> >> instead
> >> to balance them equitably ?
> >>
> >> For the moment, If I produce 500 messages, 250 messages will be consumed
> >> by
> >> the fast consumer and 250 by the slow. Normally the fast consumer should
> >> receive more messages !!
> >>
> >> Kind 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/How-can-avoid-that-the-broker-master-loadbalance-messages-equitably-between-two-brokers---tp28692489p28692489.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > http://blog.garytully.com
> >
> > Open Source Integration
> > http://fusesource.com
> >
> >
>
>
> -----
> Charles Moulliard
> SOA Architect
>
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context:
> http://old.nabble.com/How-can-avoid-that-the-broker-master-loadbalance-messages-equitably-between-two-brokers---tp28692489p28693519.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Reply via email to