Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 82390 invoked from network); 18 Mar 2010 20:10:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Mar 2010 20:10:19 -0000 Received: (qmail 13375 invoked by uid 500); 18 Mar 2010 20:10:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 13260 invoked by uid 500); 18 Mar 2010 20:10:18 -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 13252 invoked by uid 99); 18 Mar 2010 20:10:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 20:10:18 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.221.191] (HELO mail-qy0-f191.google.com) (209.85.221.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 20:10:09 +0000 Received: by qyk29 with SMTP id 29so174799qyk.2 for ; Thu, 18 Mar 2010 13:09:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.97.147 with SMTP id l19mr3002189qcn.24.1268942986185; Thu, 18 Mar 2010 13:09:46 -0700 (PDT) X-Originating-IP: [203.96.113.130] In-Reply-To: <27948028.post@talk.nabble.com> References: <27948028.post@talk.nabble.com> From: Mats Henrikson Date: Fri, 19 Mar 2010 09:09:26 +1300 Message-ID: <7c982ec31003181309o65ae4d36kae56449ad873de89@mail.gmail.com> Subject: Re: Can I allow storing of JMS msg in Queue but deny fetching them? To: users@activemq.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org You can achieve this but it's not as easy as a setting in a config file. You could implement your own BrokerPlugin/Filter that overrides BrokerFilter.addConsumer(), and implement that so that it rejects consumers on your specific destination. Mats On 19 March 2010 05:31, BenXS wrote: > > For a certain Queue (e.g. myqueue123) I would like to allow producers to > store new JMS messages > but not for Consumers to retrieve them. > > How can I achieve this? In other words: Which parameter do I have to set in > which confg file? > > Ben > -- > View this message in context: http://old.nabble.com/Can-I-allow-storing-of-JMS-msg-in-Queue-but-deny-fetching-them--tp27948028p27948028.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >