activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yari Marchetti <yari.marche...@staff.dada.net>
Subject Re: Setting Max limit of Topic for published persistent messages
Date Thu, 24 Jul 2008 10:33:13 GMT
Ramdas Sawant ha scritto:
> Hi all,
>            I want to restrict publishing JMS messages to a topic after
> certain limit is reached(may be size/number of messages). For this
> particular topic i have a durable subscription from one JMS client. I want
> to persist the messages when the subscriber is not active, but upto a
> certain point. How can i restrict this. sample configuration/code snippet
> will be helpful. Thanks in advance.
>
>
> Regards,
> Ramdas
>
>   
check:

http://activemq.apache.org/subscription-recovery-policy.html

for recovery policies available. There are a few based on time, count
and size.

Mime
View raw message