Slow consumers can cause issues for a JMS provider. There's some background here:
http://docs.codehaus.org/display/ACTIVEMQ/Slow+Consumers

For non-durable topics sometimes you don't want slow consumers slowing down your producer; you want to keep publishing at a high a rate as possible for the fast consumers and discard old messages for the slow consumers who can't keep up.

I've recently committed a patch that allows you to configure a maximum pending message limit such that slow consumers, when they fall too far behind, will start having their old messages discarded. Its described in gory detail here...

http://docs.codehaus.org/display/ACTIVEMQ/Slow+Consumer+Handling

Anyone who's sending around messages on non-durable topics and is prepared to discard messages for slow consumers (e.g. for sending around stock prices in finance) should give this feature a try.

James
-------
http://radio.weblogs.com/0112098/

Reply via email to