Hi,
When i use onecompletion on a route like this:
from(getRouteFrom())
.onCompletion().onFailureOnly()
...
.end()
.transacted("required")
...
.to("seda:forcenewtransaction");
from("seda:forcenewtransaction")
.onCompletion().onFailureOnly()
...
.end()
.transacted("requiredNew")
...
.to("jpa://be.smals.eflux.domain.MessageBody");
and if i've an exception in the second route camel seems to call the two
oncompletion.
is it the expected behavior?
thanks,
Nicolas
--
View this message in context:
http://camel.465427.n5.nabble.com/error-handling-and-transaction-question-tp3341490p3341490.html
Sent from the Camel - Users mailing list archive at Nabble.com.