camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart De Neuter <>
Subject Configurable LockType for JpaConsumer
Date Thu, 29 Aug 2013 06:55:47 GMT

We are using the DB as a poor man's queue and we have two instances from our
application running. This means we have competing consumers.
By default the jpa consumer uses LockType.WRITE. Is it possible to configure
this to PESSIMISTIC locking? We call a legacy service which is not IDEM
POTENT causing some bugs in a backend system. Using pessimistic locking
solves this but it looks like we can not configure the jpa component to use
another LockType.

Kind regards,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message