Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 91796 invoked from network); 13 Oct 2008 20:26:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 20:26:28 -0000 Received: (qmail 6852 invoked by uid 500); 13 Oct 2008 20:26:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 6829 invoked by uid 500); 13 Oct 2008 20:26:28 -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 6815 invoked by uid 99); 13 Oct 2008 20:26:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 13:26:28 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG 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, 13 Oct 2008 20:25:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KpTyH-000746-Ac for users@activemq.apache.org; Mon, 13 Oct 2008 13:24:53 -0700 Message-ID: <19962213.post@talk.nabble.com> Date: Mon, 13 Oct 2008 13:24:53 -0700 (PDT) From: ilango_g To: users@activemq.apache.org Subject: how to implement Content-based router MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ilangocal@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Hi I have the following scenario: There would be a queue that has messages sitting on it. This queue has a listener that listens for messages and routes a certain message to a different queue (channel). So the queue acts as a Content-Based Router that examines the message content and routes the message onto a different queue channel based on data contained in the message. The routing can be based on the values carried in the JMS message. Is there a sample available that implements this pattern? thanks -- View this message in context: http://www.nabble.com/how-to-implement-Content-based-router-tp19962213p19962213.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.