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.