camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Could UnitOfWork support a customed transaction-like processs?
Date Sat, 09 Oct 2010 06:05:12 GMT
Hi

See chapter 9 in the Camel in action book which talks about "compensations"
It shows how you can rollback/commit a file etc. And lays out how you
can do this as well for custom endpoints / components etc.



On Fri, Oct 8, 2010 at 6:56 AM, ext2 <xuhb@tongtech.com> wrote:
> Hi:
>        Only transactional resources(Database, JMS etc) could support
> transaction. While other resources( File etc) couldn't support transaction.
>        Doest the camel support a feature to support a custom transaction
> process? The feature allow we write custom commit/rollback process for an
> endpoint, and when the camel-route finished, all the executed endpoints'
> custom commit/rollback method will be called.
>        It seems the UnitOfWork  of Camel can do this, could it?
>
> Thanks any suggestion
>
>
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message