camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: java.lang.ClassNotFoundException: org.apache.camel.CamelExchangeException
Date Tue, 23 Oct 2012 20:33:24 GMT
Contains your OSGI package imports "org.apache.camel"?

Best,
Christian

On Tue, Oct 23, 2012 at 7:08 PM, yuribit <yrogen@gmail.com> 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.
>



--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message