camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel DSL function : rollback ?
Date Thu, 02 Jul 2009 14:08:13 GMT
On Thu, Jul 2, 2009 at 3:08 PM, Charles Moulliard<cmoulliard@gmail.com> wrote:
> Hi,
>
> What is the purpose of the following DSL function : rollback (inform
> transaction manager that the transaction must be rollbacked, ...) ?
Yes instead of throwing an exception etc you can use rollback as it
also is more clear in the DSL that when you get here it will rollback
no matter what.

For instance used with a content based router - choice, when, otherwise

>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message