Actually I think I know the issue here. I'm guessing is probably related to
the timing that the @consume method is called.

In my route I don't set the workingProcessedIndicator on the ItemEntity
until the very end of the route using my Bean createSimpleItem method.
Perhaps when the @consume method is called that part of the route has not
executed yet.

In the documentation it says...

@Consumed which will be invoked on your entity bean when the entity bean
when it has been processed (and when routing is done)

Does this mean it executes the entire route before running this method?



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

Reply via email to