Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14973

can't find class org.apache.camel.common.http.HttpOperationFailedException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • fuse-7.7-GA
    • Camel
    • None
    • False
    • False
    • % %
    • Undefined

    Description

      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:

       

      Caused by: java.lang.ClassNotFoundException: org.apache.camel.common.http.HttpOperationFailedException

      this is the relevant part of the route I'm executing and I've attached the pom.xml

       

      <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>
      

      pom.xml^^

      as you can see I included all possible libraries containing that class

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            lucamaf Luca Mattia Ferrari
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: