I have a simple Camel route with a simple onException() clause...

      onException(NoHandlerException.class).
                     
maximumRedeliveries(0).to("activemq:NFNoHandlerException");

        from("activemq:GatewayMsgQueue")
        .convertBodyTo(DOMSource.class)
        .to("jbi:service:http://www.test.com/eda/messageProcessor?mep=in-out";)
        .convertBodyTo(String.class)
        .process(new MessageProcessorResultHandler())
        .to("activemq:topic:PortalTopic");

the JBI service "messageProcessor" throws a NoHandlerException, but it isn't
being caught by the exception handling, instead I get this message...

On delivery attempt: 0 caught:
com.test.eda.messageprocessor.messagehandler.exceptions.NoHandlerException:
no handler found for
message

Why can't Camel find my exception that was registered in the onException()
method?  

I'm using SMX 3.3.1/Camel 1.6.1...

thanks...


-----
Ben - Senior Consultant

-- 
View this message in context: 
http://www.nabble.com/SMX-Camel---no-handler-found-for-message-tp25067044p25067044.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to