Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DE88ED45 for ; Thu, 28 Feb 2013 18:52:02 +0000 (UTC) Received: (qmail 88713 invoked by uid 500); 28 Feb 2013 18:52:01 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 88687 invoked by uid 500); 28 Feb 2013 18:52:01 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 88676 invoked by uid 99); 28 Feb 2013 18:52:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 18:52:01 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gnodet@gmail.com designates 74.125.82.54 as permitted sender) Received: from [74.125.82.54] (HELO mail-wg0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 18:51:55 +0000 Received: by mail-wg0-f54.google.com with SMTP id fm10so1694842wgb.21 for ; Thu, 28 Feb 2013 10:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=zmVbaFzS1pUoPTKwC83hJD/qsBOwWIbwj3k+cZDuiMw=; b=j6A1fPFQCVx/ODgz6Zp7vwGvOccglX02nBpTCyZ0fsL39HsWmQJ6YeOWF3ABYXWxNg GXL2CmNekLJ4MTb90VcRD/O3qgugdj0Nl+cRHz9wPR6zJynHjZlJUIJOvh7LsO9pVXr5 z+P+Tfk80fQSi24+QyOB/Yzn4jwAS6MWz92TmJ2EaMk/cBRvgm5m3Kn7lN0RUBm6gYdW Slc3w4gb34volLJCZRi5U5Tb9iU8/6XoDyeI+492Zxj8bD0eBA2lX3SpLXhhmIwfe1jo HcRshCmsMr2IVrJM/NuG/AMVg+ZtXLze1bZwVDw1YW7O+FxwOrG/3z7RvTK0pYKq/W9T xt3Q== X-Received: by 10.180.88.168 with SMTP id bh8mr35336838wib.15.1362077495191; Thu, 28 Feb 2013 10:51:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.98.73 with HTTP; Thu, 28 Feb 2013 10:51:14 -0800 (PST) In-Reply-To: References: From: Guillaume Nodet Date: Thu, 28 Feb 2013 19:51:14 +0100 Message-ID: Subject: Re: 3.0 Ideas To: "dev@camel.apache.org" Content-Type: multipart/alternative; boundary=f46d0418265a41efc604d6cd6195 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0418265a41efc604d6cd6195 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Feb 28, 2013 at 6:55 PM, Scott England-Sullivan wrote: > +1 on core transaction support > > Since development on SJMS started I have been reviewing JTA and how to > implement it as a core support API in Camel. Adding the capability for a > single endpoint or even multiple endpoints in a route is somewhat strait > forward. Extending the boundary of a transaction across routes and > contexts for XA is where I get out of my depth. > > I am happy to help and use SJMS as the initial component for development > but I would definitely need some guidance. > > > BTW, SJMS only supports JMS Local Transactions and not JTA at this time. > My impression was that the only supported Camel Transaction model was to > use Spring Transactions Manager with Camel and I am trying to keep SJMS > provider independent. > Yes, and thus we need to have our own transaction model in camel, in order to be independant from spring and be able to use it with blueprint. > > > On Thu, Feb 28, 2013 at 11:30 AM, Chris Geer > wrote: > > > On Thu, Feb 28, 2013 at 12:14 AM, Guillaume Nodet > > wrote: > > > > > if you configure spring to use the JtaTransactionManager which inherits > > > from PlatformTransactionManager, then you'll have the spring > transaction > > > layer using JTA. > > > > > > I'll give this a try. > > > > > > > > > > > On Thu, Feb 28, 2013 at 1:22 AM, Chris Geer > > wrote: > > > > > > > On Wed, Feb 27, 2013 at 5:16 PM, Guillaume Nodet > > > wrote: > > > > > > > > > Getting rid of spring transaction support and implementing our own > > > layer > > > > in > > > > > camel would be a big win, as it's really a big missing feature in > > > > > blueprint. > > > > > I'm willing to pay a beer to anyone tackling that in 2.12 ... > > > > > > > > > > Btw, what's your need for getting rid of spring transaction ? Is > that > > > > also > > > > > to remove the dependency on spring ? Because that one already > > supports > > > > > plain JTA. > > > > > > > > > > > > > My big driver right now is that I can use JTA transactions for > > everything > > > > except Camel JMS/ActiveMQ. I'm curious about your statement about it > > > > already supporting JTA. Looking at the JmsComponent, it takes a > > > > PlatformTransactionManager (i.e. Spring) not a TransactionManager > > (JTA). > > > > > > > > If I could use a standard transaction manager right now I'd be ok for > > > now. > > > > Eventually I'd like to be able to run without spring at all though. > > > > > > > > > > > > > > > > > > > On Wed, Feb 27, 2013 at 9:50 PM, Chris Geer > > > > > wrote: > > > > > > > > > > > On Wednesday, February 27, 2013, Henryk Konsek wrote: > > > > > > > > > > > > > Hi Chris, > > > > > > > > > > > > > > > 1) Refactor the JMS Component to use JTA transactions instead > > of > > > > > Spring > > > > > > > > Transactions. > > > > > > > > > > > > > > I'm not really sure if we need to include such kind of changes > in > > > > > > > Camel 3 roadmap. The idea is good, but can't we just raise Jira > > > issue > > > > > > > for it? And implement, even in Camel 2? :) > > > > > > > > > > > > > > > > > > Sure, it could be done in 2.x but 3.0 makes more sense to me > > because > > > it > > > > > > would be a breaking change. An alternative would be to support > both > > > JTA > > > > > > transactions and spring transactions and deprecate spring > > eventually > > > > but > > > > > > that could be a pain. Either way I can create the JIRA. > > > > > > > > > > > > > > > > > > > > Best regards. > > > > > > > > > > > > > > -- > > > > > > > Henryk Konsek > > > > > > > http://henryk-konsek.blogspot.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > ------------------------ > > > > > Guillaume Nodet > > > > > ------------------------ > > > > > Red Hat, Open Source Integration > > > > > > > > > > Email: gnodet@redhat.com > > > > > Web: http://fusesource.com > > > > > Blog: http://gnodet.blogspot.com/ > > > > > > > > > > > > > > > > > > > > > -- > > > ------------------------ > > > Guillaume Nodet > > > ------------------------ > > > Red Hat, Open Source Integration > > > > > > Email: gnodet@redhat.com > > > Web: http://fusesource.com > > > Blog: http://gnodet.blogspot.com/ > > > > > > > > > -- > -- > Scott England-Sullivan > Apache Camel Committer > Principal Consultant / Sr. Architect | Red Hat, Inc. > FuseSource is now part of Red Hat > Web: fusesource.com | > redhat.com > Blog: sully6768.blogspot.com > Twitter: sully6768 > -- ------------------------ Guillaume Nodet ------------------------ Red Hat, Open Source Integration Email: gnodet@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/ --f46d0418265a41efc604d6cd6195--