Re: How can we obtain automatic removal of expired messages from queues?

2009-12-10 Thread Fred Moore
Bruce, All, thanks for the answer, that almost solved my problem indeed. There is a additional aspect which is still unsolved and is related to poison pill messages that end up in DLQ *before* their expiration time is reached... In fact when these messages land in DLQ the expiration is reset to

Re: How can we obtain automatic removal of expired messages from queues?

2009-12-10 Thread Gary Tully
yea, currently the expiry is overridden before the message is sent to the DLQ. That could be made configurable which would help. I wonder, would it make sense to reset the expiry or just set it to represent any remaining time. If that is the best solution for you, please raise a jira issue to

How can we obtain automatic removal of expired messages from queues?

2009-12-04 Thread Fred Moore
Hi folks, this is probably easy but we not able to figure it out: we have producers setting msg expiration and msgs ending up in DLQ upon expiration (with their expiration reset to never). How can I set things up in a way such that expired msgs will simply disappear for good automatically

Re: How can we obtain automatic removal of expired messages from queues?

2009-12-04 Thread Bruce Snyder
On Fri, Dec 4, 2009 at 9:38 AM, Fred Moore fred.moor...@gmail.com wrote: Hi folks, this is probably easy but we not able to figure it out: we have producers setting msg expiration and msgs ending up in DLQ upon expiration (with their expiration reset to never). How can I set things up in a