Hi Please use the @user mailing list the next time you have a question, as we explain here http://camel.apache.org/mailing-lists.html
And also subscribe to the mailing list as well. When you use Nabble it puts burden on other people as they need to moderate more mails. On Wed, Oct 3, 2012 at 4:29 PM, lolo <laurent.gaert...@lchclearnet.com> wrote: > I'm having two routes, first route defined with > transacted("PROPAGATION_REQUIRED"), second route defined with > transacted("PROPAGATION_REQUIRES_NEW"). > Route 1 is calling route 2. > I'm persisting entities in route 1 that I would like to update in route 2. > At the moment I'm getting the following exception in route 2: > javax.persistence.EntityNotFoundException when I try to update the entity > created in route 1. > This is because they are part of two different transactions. > Is there any way to achieve that? > How can I persist the entities in route 1 so that they are visible in route > 2 eventhough they are different transactions? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Two-routes-two-transactions-tp5720484.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen