Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 71133 invoked from network); 28 Feb 2007 15:35:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 15:35:36 -0000 Received: (qmail 85894 invoked by uid 500); 28 Feb 2007 15:35:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 85867 invoked by uid 500); 28 Feb 2007 15:35:44 -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 85856 invoked by uid 99); 28 Feb 2007 15:35:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 07:35:44 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 07:35:31 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HMQpj-0005IR-8b for users@activemq.apache.org; Wed, 28 Feb 2007 07:35:11 -0800 Message-ID: <9206082.post@talk.nabble.com> Date: Wed, 28 Feb 2007 07:35:11 -0800 (PST) From: LiXiao2007 To: users@activemq.apache.org Subject: Re: [Spam: 5.0] How to set up Filters for Composite Queue In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: LiXiao2007@gmail.com References: <9203906.post@talk.nabble.com> <9204529.post@talk.nabble.com> <9204748.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I did read the pages and configured the virtual destination. I tested and it worked. My problem is that I am using activemq 4.1 and we can't configure selector inside the activemq.xml. You said that I need to start with BrokerService for the filtering and I should not code in the producer of the composite queue or the consumer of the physical queue. Where should I make the code change for filtering? James.Strachan wrote: > > On 2/28/07, LiXiao2007 wrote: >> >> So I need to modify the code of broker and build my own version of >> activemq? > > Use the XML configuration file from the page I mentioned and it will > configure virtual destinations to your requirements - no need to > modify broker code. > > You might wanna read these pages first > http://activemq.apache.org/getting-started.html > http://activemq.apache.org/run-broker.html > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/How-to-set-up-Filters-for-Composite-Queue-tf3308847s2354.html#a9206082 Sent from the ActiveMQ - User mailing list archive at Nabble.com.