camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuribit <>
Subject Re: java.lang.ClassNotFoundException: org.apache.camel.CamelExchangeException
Date Tue, 23 Oct 2012 17:08:52 GMT
I've also tried this sintax but I got the same error. 

 <route errorHandlerRef="deadLetter">
        <from uri="direct:start"/>
            <redeliveryPolicy maximumRedeliveries="1"/>
            <bean ref="orderService" method="orderFailed"/>
            <to uri="mock:error"/>
        <bean ref="orderService" method="handleOrder"/>
        <to uri="mock:result"/>

If I use java.lang.Exception instead of org.apache.camel... it works but i
must catch the other exception.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message