Henryk,
Sorry for the confusion - my error handler is written in Groovy, and
the definition of the exception handler is as follows:
// N.B. This method implicitly returns null
def exception(Exchange exchange) {
System.out.println("Exception: " + exchange.getIn());
}
In Java this is eff
On 5 February 2013 18:39, Henryk Konsek wrote:
> Hi Alex,
>
>> When myBean.slip() throws SpecificException, If I print in.body in
>> handleSpecificException(), I can see that it is not null.
>>
>> If I print it again in handleFailed() it is now null.
>
> Actually I can't reproduce this problem nei
Hi Alex,
> When myBean.slip() throws SpecificException, If I print in.body in
> handleSpecificException(), I can see that it is not null.
>
> If I print it again in handleFailed() it is now null.
Actually I can't reproduce this problem neither under Camel 2.9.5 nor
under Camel 2.10.1.
Here is my
I have a route that looks like so:
onCompletion().onFailureOnly().beanRef('myBean', 'handleFailed')
from('seda:asdf')
.onException(SpecificException)
.beanRef('myBean', 'handleSpecificException')
.handled(false)
.end()
.dynamicRouter('myB