Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 42763 invoked from network); 18 Apr 2007 20:15:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Apr 2007 20:15:12 -0000 Received: (qmail 91111 invoked by uid 500); 18 Apr 2007 20:15:18 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 90984 invoked by uid 500); 18 Apr 2007 20:15:18 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 90971 invoked by uid 99); 18 Apr 2007 20:15:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 13:15:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=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, 18 Apr 2007 13:15:11 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HeGYE-0003or-W8 for dev@activemq.apache.org; Wed, 18 Apr 2007 13:14:50 -0700 Message-ID: <10066039.post@talk.nabble.com> Date: Wed, 18 Apr 2007 13:14:50 -0700 (PDT) From: "dr.jeff" To: dev@activemq.apache.org Subject: [camel] Content Based Router MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jlansing@systechnologies.com X-Virus-Checked: Checked by ClamAV on apache.org The example as stated does not work: public void configure() { from("queue:a").choice() .when(header("foo").isEqualTo("bar")).to("queue:b") .when(header("foo").isEqualTo("cheese")).to("queue:c") .otherwise().to("queue:d"); } The result is an IllegalStateException from the SendProcessor. It appears to not have been started during context.start(). -- View this message in context: http://www.nabble.com/-camel--Content-Based-Router-tf3603123s2354.html#a10066039 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.