From activemq-users-return-2693-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Mon Jul 10 12:56:23 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 66046 invoked from network); 10 Jul 2006 12:56:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jul 2006 12:56:23 -0000 Received: (qmail 60162 invoked by uid 500); 10 Jul 2006 12:56:22 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 60143 invoked by uid 500); 10 Jul 2006 12:56:22 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 60134 invoked by uid 99); 10 Jul 2006 12:56:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 05:56:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 05:56:20 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FzvIt-0000A1-3D for activemq-users@geronimo.apache.org; Mon, 10 Jul 2006 05:55:59 -0700 Message-ID: <5251236.post@talk.nabble.com> Date: Mon, 10 Jul 2006 05:55:59 -0700 (PDT) From: Johan Brelet To: activemq-users@geronimo.apache.org Subject: Re: ActiveMQ 4 + Jencks + XA Transactions In-Reply-To: <44AFEE48.3020906@ldsys.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: johan.brelet@gmail.com X-Nabble-From: Johan Brelet References: <5196977.post@talk.nabble.com> <5213459.post@talk.nabble.com> <5217720.post@talk.nabble.com> <44AFEE48.3020906@ldsys.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I misunderstand something (sorry but I'm an ActiveMQ / JCA newbie). When using inbound communications, I thought that transactions were managed transparently by the JCA Resource Adapter and that the only way to rollback a transaction was to throw an error... So how can I do to handle the current transaction in the onMessage() method ? In my Spring config file, the only class that is linked with JTA transactions is the Jencks JCA connector (via the transactionManager property) : ... ... -- View this message in context: http://www.nabble.com/ActiveMQ-4-%2B-Jencks-%2B-XA-Transactions-tf1899733.html#a5251236 Sent from the ActiveMQ - User forum at Nabble.com.