Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 73282 invoked from network); 2 Dec 2008 11:21:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2008 11:21:10 -0000 Received: (qmail 59730 invoked by uid 500); 2 Dec 2008 11:21:21 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 59334 invoked by uid 500); 2 Dec 2008 11:21:19 -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 59323 invoked by uid 99); 2 Dec 2008 11:21:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 03:21:19 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.247.192.230] (HELO EUnet.yu) (194.247.192.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 11:19:48 +0000 Received: from [194.247.199.205] (billingdev-hotspot.eunet.co.yu [194.247.199.205] (may be forged)) by EUnet.yu (8.13.6/8.13.6) with ESMTP id mB2BKS0I017495 for ; Tue, 2 Dec 2008 12:20:29 +0100 Message-ID: <493519FD.3030708@ttmsolutions.com> Date: Tue, 02 Dec 2008 12:20:29 +0100 From: Dejan Bosanac User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: Disable Stomp transport from sending messages References: <20774719.post@talk.nabble.com> In-Reply-To: <20774719.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, why don't you just use standard ActiveMQ security mechanism; connect Stomp clients with the appropriate credentials and give read-only access to destinations? Cheers -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/ Scripting in Java - http://www.scriptinginjava.net njones wrote: > Hi. > > We have a case at work where we want to disable the sending of messages over > the stomp transport. Is this possible? > > I was looking at a custom BrokerFilter that overrides the send method and > checks the connection info, but in my tests the Connection is being stripped > out of the message at some stage during sending. It's there when I create it > but gets lost along the way. > > I'm using version 5.2 > > Any help would be appreciated. > Thanks > Nick. >