Hi
I found the issue is a bug, as the netty component need to configure
the consumer when its created. So I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-6312
On Thu, Apr 18, 2013 at 5:53 PM, fbarbat wrote:
> Hi Valerian,
>
> I was talking about org.apache.camel.spi.ExceptionH
Hi Valerian,
I was talking about org.apache.camel.spi.ExceptionHandler. As far as I know,
OnException does not catch exceptions thrown inside the consumer such as
java.nio.channels.ClosedChannelException.
Any ideas?
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com
from("netty:tcp:...").onException(MyEx).dosomethings.end().transform(constant("hello"));
http://camel.apache.org/exception-clause.html
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-set-a-custom-ExceptionHandler-to-a-consumer-tp5731097p5731098.html
Sent from the Cam