I have attempted the following and it did not timeout.

<http-conf:conduit name="*.http-conduit">
    <http-conf:client ReceiveTimeout="60000"/>
</http-conf:conduit>


The external service it was call was sleeping for:

        try {
            Thread.sleep(60000*5);
        } catch (Exception e) { LOG.info("Exception - Interrupted");}

I was expecting a timeout after 1 minute, but the service returned after 5
minutes.  

Is there anything else that needs to be configured to enable the timeout ?

Thanks  

--
View this message in context: 
http://camel.465427.n5.nabble.com/Setting-timeout-for-http-conf-client-doesn-t-seem-to-work-tp5509173p5513475.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to