activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suchitha Koneru \(sukoneru\)" <sukon...@cisco.com>
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
publisher.
"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 [mailto:james.strachan@gmail.com] 
Sent: Wednesday, March 07, 2007 12:35 PM
To: users@activemq.apache.org
Subject: Re: Persistent delivery mode and durable subscriptions

On 3/7/07, Suchitha Koneru (sukoneru) <sukoneru@cisco.com> 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
subscribers


> 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.
-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message