Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 35069 invoked from network); 21 Apr 2009 12:13:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Apr 2009 12:13:01 -0000 Received: (qmail 66696 invoked by uid 500); 21 Apr 2009 12:13:00 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 66644 invoked by uid 500); 21 Apr 2009 12:13:00 -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 66634 invoked by uid 99); 21 Apr 2009 12:13:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 12:13:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-fx0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 12:12:50 +0000 Received: by fxm25 with SMTP id 25so2501513fxm.20 for ; Tue, 21 Apr 2009 05:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=/gCfqMFXuMExwN3oSa48D92hxCv6sN+FP1veS4FMVJ8=; b=WF9oCiJyd14329+Oqls3tACZOAqtCfrzuJ+u+JSMQd/6IGpw/sW2Si9KSKyDvoXIAI eystVO3ffgXD5w/JUc+GtD7etQM1EFpcLqvMRc+RVVC52uwzSfPJEPVXO1nGvU7YGGWr BGxSLl+DHRQH1cHfq2ifJQDghdmzxcp/Gfr0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=qx6rFVweNj0UzA2hJWilGZgSpgiYeKW3yHPgV6dbm5T8IswHjUZLMJFkdpUIzkiQl8 ak6xmHQJxIhHyyIh+5Jrk7L6ax5Qld+KTraxtEKB/u1INCf6NCMtoMrCXKWIhYFzEiNK YZxKl3L3PAm/y5xGbPJUjLHIlFjVqyCu98iC4= MIME-Version: 1.0 Received: by 10.204.68.15 with SMTP id t15mr6433631bki.139.1240315950124; Tue, 21 Apr 2009 05:12:30 -0700 (PDT) In-Reply-To: <23154576.post@talk.nabble.com> References: <23149492.post@talk.nabble.com> <5380c69c0904202243k3ffbe6b7pd2cf9ed2c97315a1@mail.gmail.com> <23154576.post@talk.nabble.com> From: Claus Ibsen Date: Tue, 21 Apr 2009 14:12:15 +0200 Message-ID: <5380c69c0904210512p6aaa2e7s496454d42f01c7a2@mail.gmail.com> Subject: Re: JPA component in a JEE5 environment To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Apr 21, 2009 at 2:01 PM, Frank Schwarz wrote: > > Hi Claus, > > thank you for your resourceful remarks. > > I am now facing a new problem. The JPA component creates a > org.springframework.orm.jpa.JpaTransactionManager on its own - which > conflicts quite badly with the JTA environment of an EJB container. Is th= ere > any built-in facility to a more declarative transaction handling here? A > RFE? Yeah a quick glimpse on the camel-jpa code looks like we need a few more options on the JpaComponent to set a PlatformTransactionManager to use. And apparently there is a org.apache.camel.component.jpa.TransactionStrategy in the loop as well. And it should work with the existing transaction we have in camel-spring, with the new transaced() DSL keyword. So please feel free to create a ticket in JIRA, as we need to improve camel= -jpa. > > Kindly appreciate your help, > Frank > > > > > Claus Ibsen-2 wrote: >> >> Yeah sure overload the jpa component and set the entity manager factory. >> >> >> =A0 >> >> >> > > -- > View this message in context: http://www.nabble.com/JPA-component-in-a-JE= E5-environment-tp23149492p23154576.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > --=20 Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus Apache Camel Reference Card: http://refcardz.dzone.com/refcardz/enterprise-integration