camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From moxximus <>
Subject Re: When are @Consumed methods called by the JPA component?
Date Thu, 21 Mar 2013 13:28:24 GMT
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:
Sent from the Camel - Users mailing list archive at

View raw message