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.