How to setup connect-timeout


I call a REST API from BPM Engine. I get some trouble when calling from my local machine. I get an exception connect timed out. So I want to increase the connect-timeout.
I tried to put in file with values

But engine doesn’t consider my parameterization. Into FlowableHttpProperties class, this value is defined as Duration. Do I need to use a specific format to set them up ?

It uses the Spring Boot format of expressing Durations. So something like


will work

1 Like

Thank you for your response.

There was another mistake on my side, I tried to create a properties file in tomcat conf directory. When I move it inside the war and with your format, it now OK.

This is helpful. It resolved issue which i was facing with http task (socket timeout). Thanks a lot.