On Jan 15, 2008 8:19 AM, Ryan Moquin <[EMAIL PROTECTED]> wrote:
> I'm trying to avoid my deadlock issue where messages sent to a topic from
> servicemix-jms eventually cause my producer to block.  The only thing I can
> seem to find for this is using the options on this page:
>
> http://activemq.apache.org/destination-options.html
>
> Can I use consumer.maximumPendingMessageLimit with servicemix-jms?  If so,
> if I change my jmsProviderDestination name to this below, should it work?
>
> jmsProviderDestinationName="topic/feed-service?consumer.maximumPendingMessageLimit=10"
>
> I tried it, but in jconsole, the enqueue count has already gone past 10.  If
> there anyway to cause old messages to be disposed?  I thought this was the
> point of jms Topics.

Do you have a slow consumer situation where you need to use the
prefetch option?:

http://activemq.apache.org/slow-consumer-handling.html

As for old messges, have you considered setting an expiration date in
the messages?

Bruce
Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to