activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <>
Subject dealing with slow consumers on non-durable topics
Date Fri, 03 Mar 2006 10:19:18 GMT
Slow consumers can cause issues for a JMS provider. There's some  
background here:

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...

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.


View raw message