For the following:
errorHandler(deadLetterChannel("mock:dead").maximumRedeliveries(1).redeliveryDelay(100));
from("seda:start")
.choice()
.when(header("type").isEqualTo("A"))
.to("direct:end")
.routeId("myRoute");
How would I configure the route to send the message to the deadLetterChannel
if the header "type" does not equal "A"?
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/Dead-letter-queue-when-header-not-matched-tp5723462.html
Sent from the Camel - Users mailing list archive at Nabble.com.