Hi, 

Can I have multiple onCompletition block in single camel's route?

My route is following:

from("direct:test")
  .onCompletition().onCompleteOnly()
    .to("direct"success")
  .end()
  .onCompletition().onFailureOnly()
    .to("direct:failure")
  .end()
  .process(new MyProcessor())
.end();

But, in this case any onCompletition block is executing regardless of
processor throws exception. I use Camel 2.6.0.

Cheers,
Marcin


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

Reply via email to