camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Configurable LockType for JpaConsumer
Date Thu, 29 Aug 2013 07:13:34 GMT

Ah looks like we can add an option so you can configure this. Feel
free to log a JIRA ticket. And as we love contributions, you are
welcome to work on a patch.

On Thu, Aug 29, 2013 at 8:55 AM, Bart De Neuter <> wrote:
> Hi,
> 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,
> Bart
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message