activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crisp <davidcris...@yahoo.com>
Subject Re: ActiveMQ causes producer to hang when no consumer on topic after a few minutes.
Date Fri, 22 Aug 2008 23:14:24 GMT


Hi Bruce,
    How can I configure the broker to simply drop messages when they expire
rather than sending them to the DLQ?   Is there a
"BitBucketDeadLetterStrategy" or something?

-D


bsnyder wrote:
> 
> On Wed, Aug 20, 2008 at 2:49 PM, Ryan Moquin <fragility2.0@gmail.com>
> wrote:
>> I don't think I saw that option?  I assumed the timetolive would have
>> that
>> effect?  I'll take another look at the settings, I may have overlooked
>> that
>> one.  I hope so because I'm getting pretty desperate and I'm positive
>> that
>> I've correctly tried all the other options correctly, which is why I'm so
>> puzzled.
> 
> OK, my mistake in suggesting the use of the expiration. I just tested
> the expiration and the timeToLive on the JMS message in ActiveMQ 4.1.1
> and 5.1. The expiration doesn't seem to have any affect on either
> broker, but the timeToLive does. In ActiveMQ 4.1.1, the timeToLive
> doesn't affect message expiration but in ActiveMQ 5.1, setting a
> timeToLive will cause the message to be delivered to the DLQ if the
> timeToLive surpasses and the message is still pending.
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&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/
> 
> Blog: http://bruceblog.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQ-causes-producer-to-hang-when-no-consumer-on-topic-after-a-few-minutes.-tp19061289p19116956.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message