Producer producer = endpoint.createProducer();
producer.process(exchange); //throw an Exception
return (Map<String, Object>)exchange.getOut().getBody(); //why run to
here?
my route defined
from("direct://test").process(ProcesssA).to("myComponent://").process(ProcessB);
if my ProcessA throw an Exception, but why it continue to call myComponent
and processB.
--
View this message in context:
http://camel.465427.n5.nabble.com/why-my-Processor-throw-Exception-but-producer-can-t-throw-it-tp4821356p4821356.html
Sent from the Camel - Users mailing list archive at Nabble.com.