You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Kevin-Void <an...@gmail.com> on 2017/06/12 16:15:08 UTC

HTTP4 retrying with I/O exception in fuse 6.3

Hi All,

I have used Http4 component in fuse 6.2.1 and it works fine as expected.

In new version of fuse 6.3, the response is not as expected. It is as
follows:

2017-06-12 18:34:54,886 | INFO  | mer[SAMPLE.ROUTE] | RetryExec                       
| 219 - org.apache.httpcomponents.httpclient - 4.5.2 | I/O exception
(java.net.SocketException) caught when processing request to
{}->http://abcd.abcd.com:443: Connection reset
2017-06-12 18:34:54,887 | INFO  | mer[SAMPLE.ROUTE] | RetryExec                       
| 219 - org.apache.httpcomponents.httpclient - 4.5.2 | Retrying request to
{}->http://abcd.abcd.com:443
.
.
.

And it continues as same.

I also tried with Https component, but the end point is not getting the
requested payload.
Endpoint is expecting a payload like previous version.

The endpoint is configured as below:

<to
uri="http4:abcd.abcd.com:443/aabb/aabbdd.svc/pox?sslContextParametersRef=sslContextParams"/>

Kindly help.

Regards,
Kevin



--
View this message in context: http://camel.465427.n5.nabble.com/HTTP4-retrying-with-I-O-exception-in-fuse-6-3-tp5803238.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HTTP4 retrying with I/O exception in fuse 6.3

Posted by Bart Horré <ba...@anova.be>.
Hi,

I'm assuming 'sslContextParams' is a bean in the registry.
Shouldn't your uri be "http4:abcd.abcd.com:443/aabb/aabbdd.svc/pox?
sslContextParametersRef=#sslContextParams
<http://abcd.abcd.com:443/aabb/aabbdd.svc/pox?sslContextParametersRef=sslContextParams>"
instead?

Bart Horré
Anova r&d bvba

On Mon, Jun 12, 2017 at 6:15 PM, Kevin-Void <an...@gmail.com>
wrote:

> Hi All,
>
> I have used Http4 component in fuse 6.2.1 and it works fine as expected.
>
> In new version of fuse 6.3, the response is not as expected. It is as
> follows:
>
> 2017-06-12 18:34:54,886 | INFO  | mer[SAMPLE.ROUTE] | RetryExec
> | 219 - org.apache.httpcomponents.httpclient - 4.5.2 | I/O exception
> (java.net.SocketException) caught when processing request to
> {}->http://abcd.abcd.com:443: Connection reset
> 2017-06-12 18:34:54,887 | INFO  | mer[SAMPLE.ROUTE] | RetryExec
> | 219 - org.apache.httpcomponents.httpclient - 4.5.2 | Retrying request to
> {}->http://abcd.abcd.com:443
> .
> .
> .
>
> And it continues as same.
>
> I also tried with Https component, but the end point is not getting the
> requested payload.
> Endpoint is expecting a payload like previous version.
>
> The endpoint is configured as below:
>
> <to
> uri="http4:abcd.abcd.com:443/aabb/aabbdd.svc/pox?sslContextParametersRef=
> sslContextParams"/>
>
> Kindly help.
>
> Regards,
> Kevin
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/HTTP4-retrying-with-I-O-exception-in-fuse-6-3-tp5803238.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>