How to set client connection timeout in camel cxf. The following link asked same question, Camel CXF: Soap client timeout
but how to apply the http-conf:conduit into the cxf setting. Could anyone provide sample?
How to set client connection timeout in camel cxf. The following link asked same question, Camel CXF: Soap client timeout
but how to apply the http-conf:conduit into the cxf setting. Could anyone provide sample?
Try this. Please be aware that connection timeout is set for http-conf:client
and not http-conf:conduit
. Declare the following snippet and dont forget to replace the SoapPort
with your own.
<http-conf:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit">
<http-conf:client Connection="Keep-Alive" MaxRetransmits="1" AllowChunking="false" />
</http-conf:conduit>
More details here