You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by techmaze <te...@gmail.com> on 2012/06/04 05:26:23 UTC

Messages not expiring on Topic

Hello,

I just started using ActiveMQ 5.6 (new user) and now struggling to find an
answer why the messages are not expiring after time-to-live miliseconds 
specified on producer (tried even on message object).
- AMQ version 5.6
conf:
<policyEntry topic=">" expireMessagesPeriod="30000"
advisoryForDiscardingMessages="true">
                  <deadLetterStrategy>
		             <sharedDeadLetterStrategy processExpired="false" />
         	  </deadLetterStrategy>
                  
                </policyEntry>
                 <policyEntry topic=">" advisoryForConsumed="true" />
This is not even showing any advisory messages when i browse admin
interface.
Apart from above changes to default conf i have not done anything special. I
have set producer.setTimeToLive(60000);

when i check the topic with jconsole, I am noticed that both timestamp and
expiry proprties are showing same value.

Please help, thanks for your time.






--
View this message in context: http://activemq.2283324.n4.nabble.com/Messages-not-expiring-on-Topic-tp4652945.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.