activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suchitha Koneru \(sukoneru\)" <>
Subject RE: Persistent delivery mode and durable subscriptions
Date Wed, 07 Mar 2007 20:58:37 GMT

Thank you James for the clarification.

I am little unclear on the "time to live" and persistent options for a
"Time to live ", assuming that it is 5 minutes , indicates that a
message should be discarded , after the given interval of time .
If "time to live" option is used along with persistent delivery mode,
messages get stored in the disk . How does the clean up operation
determine that a message has to be purged ,Does it do the message purge
after the time to live interval has elapsed ? 
Or the Time to live interval does not have any effect on clean up
procedure .

-----Original Message-----
From: James Strachan [] 
Sent: Wednesday, March 07, 2007 12:35 PM
Subject: Re: Persistent delivery mode and durable subscriptions

On 3/7/07, Suchitha Koneru (sukoneru) <> wrote:
> Hi active mq users ,
>                    I have a question in regard to persistent delivery 
> for durable subscriptions.
> Consider the scenario , where in , The subscriber is durable.
> For the topic publisher  , If I set the delivery mode to persistent , 
> are the messages saved to disk all the time.

Yes - if there is a durable subscriber for the messages.

> Are these messages not
> purged at all ?

Periodically yes, when they have been consumed by all interested

> Also along with persistent mode of delivery , if I set time to live as

> 5 minutes , are the messages still on the disk even after 5 minutes.

They could be - it depends on the background cleanup operation.


View raw message