On Thu, Jul 2, 2009 at 3:08 PM, Charles Moulliard<cmoulli...@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