Hi, 

intercept().bean(DoAsIWish.class);
from("direct:start").routeId("myRoute)
.bean(BeanA.class)
.bean(BeanB.class)
.bean(BeanC.class)
.bean(BeanD.class)
.to("seda:out")
.to("log:print"); 
producerTemplate.sendBody("direct:start", outputString);
consumerTemplate.receiveBody("seda:out").toString();

When I am trying to stop my route using example of camel context stop method
in Chapter 13, I am getting the following exception.

org.apache.camel.CamelExecutionException: Exception occurred during
execution on the exchange: Exchange[Message: Somemessage]

Can you suggest me how to remove the CamelExecutionException.

Thanks, 
Frank


--
View this message in context: 
http://camel.465427.n5.nabble.com/Restarting-the-Camel-route-tp5578588p5581162.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to