Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
Unknown
Description
The default timeout used by camel-servlet seems to be 30000ms. I could not find a way to change this timeout declaratively using some endpoint option/property.
camel-restlet [1] has two endpoint properties to handle this declaratively: connectionTimeout and socketTimeout. This is useful when using camel-servlet in Camel DSL to expose http rest endpoints. Sometimes you have scenarios where your work takes more than 30s to respond a client consumer and you need to increase the default timeout.