[ 
https://issues.apache.org/jira/browse/CAMEL-15668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-15668.
---------------------------------
    Resolution: Invalid

You are using Red Hat Fuse, so you should contract Red Hat about customer 
support.

> can't find class org.apache.camel.common.http.HttpOperationFailedException
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-15668
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15668
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http4
>    Affects Versions: 2.23.2
>            Reporter: Luca Ferrari
>            Priority: Major
>         Attachments: pom.xml
>
>
> I'm calling an external system and trying to catch the http exception but 
> can't start the route as I receive the following error:
>  
> {code:java}
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.camel.common.http.HttpOperationFailedException{code}
> this is the relevant part of the route I'm executing and I've attached the 
> pom.xml
>  
> {noformat}
> <route id="A4-A5-flow"> <from id="commit-orders" uri="direct:a3-to-a4" /> 
> <setHeader headerName="CamelHttpMethod"> <constant>POST</constant> 
> </setHeader> <to 
> uri="http://localhost:8090/api/commitOrder?bridgeEndpoint=true"; /> <!-- 
> exception handling http calls --> <onException> 
> <exception>org.apache.camel.common.http.HttpOperationFailedException</exception>
>  <redeliveryPolicy maximumRedeliveries="3" redeliveryDelay="2000" /> 
> <handled> <constant>true</constant> </handled> </onException> <unmarshal> 
> <custom ref="my-reply" /> </unmarshal> <to uri="direct:a5-to-a6" /> </route>
> {noformat}
> [^pom.xml]
> as you can see I included all possible libraries containing that class
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to