great that that helped. I don't think there is a need to adjust prefetch at runtime. The rate a which a prefetch is consumed is directly proportional to the speed of the consumer, so faster consumers will always get more messages and the messages will go elsewhere if it slows down.
On 13 October 2010 18:38, jpeng <jp...@xmatters.com> wrote: > > Thanks Gary, I applied the configuration changes you suggested and the fast > consumer in my test case now processes more messages. This gets me half way > to where I would like to be, because consumer processing times in my system > will vary and I need to adjust dynamically. Can prefetch be adjusted based > upon how quickly the messages are being processed in the consumer queue? > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Configuring-Distributed-Queues-in-Store-Forward-Network-tp2967501p2994107.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://blog.garytully.com Open Source Integration http://fusesource.com