Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 23403 invoked from network); 3 Aug 2009 07:27:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Aug 2009 07:27:20 -0000 Received: (qmail 20501 invoked by uid 500); 3 Aug 2009 07:27:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 20453 invoked by uid 500); 3 Aug 2009 07:27:24 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 20443 invoked by uid 99); 3 Aug 2009 07:27:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 07:27:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 07:27:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MXrwb-0005DD-C9 for users@activemq.apache.org; Mon, 03 Aug 2009 00:26:53 -0700 Message-ID: <24786480.post@talk.nabble.com> Date: Mon, 3 Aug 2009 00:26:53 -0700 (PDT) From: fehm To: users@activemq.apache.org Subject: Re: New Broker plugin : Enforcing persistence mode In-Reply-To: <0216B246-128A-406F-B5D1-C645A562F670@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Felix.Ehm@cern.ch References: <24758167.post@talk.nabble.com> <0216B246-128A-406F-B5D1-C645A562F670@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 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.