Is there a reason it can't be called before the message is routed, even if
its not guaranteed to finish before the message is routed?

Executing @Consumed functions is part of the stated functionality of the JPA
component. It seems logical that the work occurs while the message is still
at such a node in the route. At the very least, if the function is started
but not necessarily finished before sending out the message, one can use
synchronization to force the completion of the function if so desired.



--
View this message in context: 
http://camel.465427.n5.nabble.com/When-are-Consumed-methods-called-by-the-JPA-component-tp5729562p5729615.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to