On Thu, Jun 7, 2012 at 4:11 PM, dunnlow <dunn...@yahoo.com> wrote: > Thanks Claus. And in the vein of "teach a man to fish..." where would one > find information about the <rollback> command (is it safe to assume that if > .rollback() exists there is a Spring counterpart)? > > If you have a good editor, you just press ctrl + space and it shows a list of methods / xml tags you can use. In XML there is a XSD schema that defines the DSL. And In Java, its ... just java code.
> Also, I had considered throwing an exception but was not sure how to do > that > in Spring DSL. Creating a bean to throw it seemed ugly, but it just > occurred to me I could probably add a <javascript>throw > "rollback"</javascript>. What is the cleanest way to throw an exception in > Spring DSL? > > Thanks again, -J > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-force-rollback-in-spring-DSL-route-tp5714090p5714129.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen