Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 90518 invoked from network); 13 Sep 2010 13:46:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 13:46:16 -0000 Received: (qmail 54697 invoked by uid 500); 13 Sep 2010 13:46:16 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 54639 invoked by uid 500); 13 Sep 2010 13:46:13 -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 54585 invoked by uid 99); 13 Sep 2010 13:46:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 13:46:10 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of alex@crackpot.org does not designate 64.251.173.164 as permitted sender) Received: from [64.251.173.164] (HELO filter3.e-filtering.net) (64.251.173.164) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 13:46:06 +0000 X-ASG-Debug-ID: 1284385544-0bcf000d0000-Ri9J0o X-Barracuda-URL: http://64.251.173.164:8000/cgi-bin/mark.cgi Received: from rutabaga.dean (98.159.181.127.dsl.venturecomm.net [98.159.181.127]) by filter3.e-filtering.net (Spam Firewall) with ESMTP id 421CA34EABB6 for ; Mon, 13 Sep 2010 07:45:44 -0600 (MDT) Received: from rutabaga.dean (98.159.181.127.dsl.venturecomm.net [98.159.181.127]) by filter3.e-filtering.net with ESMTP id 5leqhzbEtrlr0aqF for ; Mon, 13 Sep 2010 07:45:44 -0600 (MDT) Message-Id: From: Alex Dean To: users@activemq.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) X-ASG-Orig-Subj: Re: message filtering via ajax in 5.4? Subject: Re: message filtering via ajax in 5.4? Date: Mon, 13 Sep 2010 08:45:44 -0500 References: <08C09CB9-05A8-49B7-90DF-52340789DB14@meteostar.com> <01CBAD1A-053C-4E7F-967A-88D38B14E05A@meteostar.com> <881ABF8F-BB8C-424C-8922-B00C633807C5@meteostar.com> X-Mailer: Apple Mail (2.936) X-Barracuda-Connect: 98.159.181.127.dsl.venturecomm.net[98.159.181.127] X-Barracuda-Start-Time: 1284385545 X-Barracuda-Virus-Scanned: by E-Filtering Spam Firewall at e-filtering.net X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=5.0 KILL_LEVEL=6.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.40747 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Patch is ready for consideration : https://issues.apache.org/activemq/browse/AMQ-2874 thanks, alex On Aug 5, 2010, at 8:41 AM, Dejan Bosanac wrote: > Hi Alex, > > I think the 4th optional parameter would work just fine. Can you raise > a Jira and attach patch there when you have it ready. Thanks! > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > > On Wed, Aug 4, 2010 at 8:13 PM, Alex Dean wrote: >> Thanks Dejan. How do I send the 'selector' parameter via the amq.js >> addListener() function? Looks like support for 'selector' would >> need to be >> added to addListener() and sendJmsMessage() somehow. (Maybe an >> optional 4th >> parameter?) >> >> http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web-demo/src/main/webapp/js/amq.js?r=HEAD >> >> If you can think of a way you'd prefer to have this implemented, >> I'd be >> happy to code up a patch. >> >> alex >> >> On Aug 4, 2010, at 2:25 AM, Dejan Bosanac wrote: >> >>> Hi Alex, >>> >>> yes MessageListenerServlet supports selectors in the 'selector' >>> request parameter. >>> >>> Cheers >>> -- >>> Dejan Bosanac - http://twitter.com/dejanb >>> >>> Open Source Integration - http://fusesource.com/ >>> ActiveMQ in Action - http://www.manning.com/snyder/ >>> Blog - http://www.nighttale.net >>> >>> >>> >>> On Tue, Aug 3, 2010 at 10:13 PM, Alex Dean >>> wrote: >>>> >>>> On Jul 26, 2010, at 11:25 AM, Alex Dean wrote: >>>> >>>>> In 5.4, will ajax clients be able to specify per-subscription >>>>> filtering >>>>> rules when subscribing to topics? I don't see any obvious >>>>> support for >>>>> this >>>>> in the 5.4-SNAPSHOT amq.js code, but maybe I'm missing it. >>>>> Would be >>>>> very >>>>> helpful to have, and I'd be happy to work on the JavaScript side >>>>> of >>>>> things. >>>>> Is there support for filtering in the MessageListenerServlet? >>>> >>>> Is anyone able to answer this question? >>>> >>>> thanks, >>>> alex >>>> >> >>