Great! thank you Felix!

On 3 Aug 2009, at 08:26, fehm wrote:


Hi Rob,


Sure, here you go :

https://issues.apache.org/activemq/browse/AMQ-2339


Let me know, if you need  something else.

Cheers,
Felix


rajdavies wrote:

Hi Felix,

looks handy! - do you want to contribute it too Apache ? - if you do
can you create an issue - attach your code and click the assign to
apache checkbox

cheers,

Rob

On 31 Jul 2009, at 16:43, fehm wrote:


Hi,

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.


Regards,
Felix


http://www.nabble.com/file/p24758167/ForcePersistencyModeBroker.java
ForcePersistencyModeBroker.java  
http://www.nabble.com/file/p24758167/ForcePersistencyModeBrokerPlugin.java
ForcePersistencyModeBrokerPlugin.java
--
View this message in context:
http://www.nabble.com/New-Broker-plugin-%3A-Enforcing-persistence-mode-tp24758167p24758167.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/







--
View this message in context: 
http://www.nabble.com/New-Broker-plugin-%3A-Enforcing-persistence-mode-tp24758167p24786480.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/




Reply via email to