Re: null body after transform method exception

2015-06-15 Thread Claus Ibsen
Hi Ah no that is likely not the intention. Though as your bean uses some assertion are you sure its a regular java.lang.Exception and not a java.lang.Error that it throws. eg try with a regular exception. But still Camel should behave the same so there is likely a little bug. But I suspect its

RE: null body after transform method exception

2015-06-15 Thread Hans Orbaan
2015 9:27 Aan: users@camel.apache.org Onderwerp: Re: null body after transform method exception Hi Ah no that is likely not the intention. Though as your bean uses some assertion are you sure its a regular java.lang.Exception and not a java.lang.Error that it throws. eg try with a regular

RE: null body after transform method exception

2015-06-15 Thread Hans Orbaan
Testcase (attachment was removed): package route; import org.apache.camel.Exchange; import org.apache.camel.LoggingLevel; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.test.junit4.CamelTestSupport; import

Re: null body after transform method exception

2015-06-15 Thread Claus Ibsen
fails, the other succeeds. I would expect the same behavior from both methods. Thanks Claus! -Oorspronkelijk bericht- Van: Claus Ibsen [mailto:claus.ib...@gmail.com] Verzonden: Monday 15 June 2015 9:27 Aan: users@camel.apache.org Onderwerp: Re: null body after transform method