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
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
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
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