camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S Vijayan <aksvijay...@gmail.com>
Subject Re: Class Not Found Exception for HTTPOperationFailedException
Date Mon, 28 Sep 2015 05:21:20 GMT
Hi,
Did you install camel-http feature.
If you didn't install then install it.
On Sep 28, 2015 10:37 AM, "Vanshul.Chawla" <Vanshul.Chawla@target.com>
wrote:

> Hello,
>
> I am using this in OnException
>
>
> <exception>org.apache.camel.component.http.HttpOperationFailedException</exception>
>
> When I deploy bundle to Fuse(6.1) , I get this error
>
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.camel.component.http.HttpOperationFailedException
>
>
> JBossFuse:admin@root> exports | grep org.apache.camel.component.http
>    233 org.apache.camel.component.http.helper; version=2.12.0.redhat-611423
>    233 org.apache.camel.component.http; version=2.12.0.redhat-611423
>
> When I use java.lang.Exception in onException clause, I can see exception
> thrown has the same class.
>
> "Exception is
> org.apache.camel.component.http.HttpOperationFailedException: HTTP
> operation failed invoking https://XXXX?amp%3BthrowExceptionOnFailure=false
> with statusCode: 404"
>
> Is there something missing which we need to add to recognize this class in
> onException clause.
>
>
> Vanshul
>

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