Thanks Williem,

Changing my route to ...

.pollEnrich("jpa://org.apache.camel.auski.etl.entity.ImportPayloadEntity?consumer.namedQuery=queryImportPayloads&consumeDelete=false&delay=3000&consumeLockEntity=false")

worked!!!

But still a bit of a problem.. The ImportPayloadEntity contains a list of
ItemEntity beans (one to many jpa relationship) and they also have a flag on
them (processed_ind) which I am trying to update. Is there some setting you
can use to do something similar for the nested ItemEntity beans? 

I'm going to have a read of the documentation on this setting now to see if
I can find anything but any help is welcome.

thanks again



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

Reply via email to