camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Is JPA producer transaction safe?
Date Tue, 12 Apr 2011 07:09:18 GMT

I think you need to configure the isolation level of the transaction
at the database. Usually you have levels such as READ_COMMITTED, and
what else is there. So do a bit of googling.

On Mon, Apr 11, 2011 at 6:21 PM, yong <> wrote:
> Hi,
> I am using Camel 2.6.   I have a route generating Entity beans through JPA,
> and another route consume these Entity beans through JPA.    The entity bean
> has one-to-many relation with some other beans.  (for example, "user" entity
> and the "contact" entity".
> From my test,  looks like the JPA consumer start to consume the "user"
> entity even before it is fully written to database, ("contact" table only
> partially written).
> Is is possible?  or I have to define "transacted()" in my route and will
> that be useful?
> thanks,
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
CamelOne 2011:
Twitter: davsclaus
Author of Camel in Action:

View raw message