Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C539417B29 for ; Fri, 17 Oct 2014 13:46:07 +0000 (UTC) Received: (qmail 46834 invoked by uid 500); 17 Oct 2014 13:46:07 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 46804 invoked by uid 500); 17 Oct 2014 13:46:07 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 46793 invoked by uid 99); 17 Oct 2014 13:46:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 13:46:06 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.149.113.165] (HELO tcmail13.telekom.de) (80.149.113.165) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 13:45:40 +0000 Received: from q4de8psa169.blf.telekom.de ([10.151.13.200]) by tcmail11.telekom.de with ESMTP; 17 Oct 2014 15:45:39 +0200 X-IronPort-AV: E=Sophos;i="5.04,739,1406584800"; d="scan'208";a="682316296" Received: from he113414.emea1.cds.t-internal.com ([10.125.65.80]) by q4de8psazkj.blf.telekom.de with ESMTP/TLS/AES128-SHA; 17 Oct 2014 15:45:36 +0200 Received: from HE113607.emea1.cds.t-internal.com ([10.125.65.130]) by HE113414.emea1.cds.t-internal.com ([::1]) with mapi; Fri, 17 Oct 2014 15:45:19 +0200 From: To: Date: Fri, 17 Oct 2014 15:45:19 +0200 Subject: Documentation for JEE Transaction Handling in Camel needed Thread-Topic: Documentation for JEE Transaction Handling in Camel needed Thread-Index: Ac/qD4oqMhEy4J9wQdeOJYLDuXfVww== Message-ID: <29FBA46A464316449BF990BA4D74D578052FED3FBBD3@HE113607.emea1.cds.t-internal.com> Accept-Language: en-US, de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, our application run in JBoss EAP 6.1 and uses different camel routes to rea= d data from external servers, converts and writes them via jms (hornetQ) in= to database. The MDB reads values from queue, store them in database and pu= t in a second queue. Sometimes an OptimisticLockException occurs in second MDB while trying to l= ook up them in database. Very simplified scenario: from("ftp://server").to("direct:convert"); from("direct:convert").process(xyz).bean(myEJB).to("direct:save");=20 from("direct:save").process(abc).to("jms://savequeue"); My question is where can I find a description of how and when transactions = are started and closed during a camel route using EJBs. Regards Robin