activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dr.jeff" <jlans...@systechnologies.com>
Subject [camel] Content Based Router
Date Wed, 18 Apr 2007 20:14:50 GMT

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.


Mime
View raw message