Contains your OSGI package imports "org.apache.camel"? Best, Christian
On Tue, Oct 23, 2012 at 7:08 PM, yuribit <[email protected]> wrote: > I've also tried this sintax but I got the same error. > > <route errorHandlerRef="deadLetter"> > <from uri="direct:start"/> > <onException> > > > <exception>org.apache.camel.spring.processor.onexception.OrderFailedException</exception> > <redeliveryPolicy maximumRedeliveries="1"/> > <handled> > <constant>true</constant> > </handled> > <bean ref="orderService" method="orderFailed"/> > <to uri="mock:error"/> > </onException> > <bean ref="orderService" method="handleOrder"/> > <to uri="mock:result"/> > </route> > > 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: > http://camel.465427.n5.nabble.com/java-lang-ClassNotFoundException-org-apache-camel-CamelExchangeException-tp5721409p5721470.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --
