activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fehm <>
Subject New Broker plugin : Enforcing persistence mode
Date Fri, 31 Jul 2009 15:43:48 GMT


I was wondering that one or the other might find the attached plugin useful.
It allows to enforce the persistence mode for incoming messages. 

This case comes handy, whenever the connecting clients are not respecting
(or forgetting) message policies. 

In our case, one client connected and sent persistent messages with TTL=0 to
a queue without having a consuming client. This caused the broker to pile up
the messages until it died due to missing space (disk & mem). 

Our general policy for the brokers, however, is to handle only
non-persistent messages. Therefore I wrote this little plugin to protect us
from "nasty" clients.

Please let me know what should be improved.

Felix &nbsp; 
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message