Apache Camel HTTP Timeout
12:54 11 Feb 2020

I am using Apache Camel route for HTTP call. I wanted to add timeout if there is delay from host system. I am using the following configuration but it is not working. The client request is getting timeout without waiting host system timeout. The client timeout is configured in CXF but the camel timeout is configured in camel route. It should timeout in 4 second and it should go to error processor and but it is not happening.

HTTP


    httpclient.soTimeout=4000&bridgeEndpoint=true&throwExceptionOnFailure=false

HTTP4

httpclient.socketTimout=4000&bridgeEndpoint=true&throwExceptionOnFailure=false

Thanks

java spring-boot apache-camel cxf