Re: Automatic delete of expired messages

2009-12-16 Thread Eric-AWL
Today, I don't use persistent messages at all, and just want to release memory resources when messages are no longer valid. Do you confirm me that the number of consumers (0 here), that is found into Advisory messages, is not changed by this automatic behaviour ? It's important for us to know th

Re: Automatic delete of expired messages

2009-12-16 Thread Joe Fernandez
You might also want to look into the DiscardingDLQBroker plugin. See bottom of this page http://activemq.apache.org/message-redelivery-and-dlq-handling.html Joe http://www.ttmsolutions.com Eric-AWL wrote: > > Hi Joe. > > Thank you very much for your answer. > > Eric-AWL. > > > Joe Ferna

Re: Automatic delete of expired messages

2009-12-16 Thread Eric-AWL
Hi Joe. Thank you very much for your answer. Eric-AWL. Joe Fernandez wrote: > > With AMQ 5.3, non-persistent messages that expire are automatically > removed/deleted from their destination. Persistent messages are moved to > the DLQ. > > By default, the destination sweeps occur every 30 sec

Re: Automatic delete of expired messages

2009-12-16 Thread Joe Fernandez
With AMQ 5.3, non-persistent messages that expire are automatically removed/deleted from their destination. Persistent messages are moved to the DLQ. By default, the destination sweeps occur every 30 seconds. You can change this default via the 'expireMessagesPeriod' property. Joe http://www.t