You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Rafael T C Soares (JIRA)" <ji...@apache.org> on 2017/12/28 00:29:00 UTC

[jira] [Created] (CAMEL-12107) support for setting connection/socket timeout on camel-servlet using endpoint properties

Rafael T C Soares created CAMEL-12107:
-----------------------------------------

             Summary: support for setting connection/socket timeout on camel-servlet using endpoint properties
                 Key: CAMEL-12107
                 URL: https://issues.apache.org/jira/browse/CAMEL-12107
             Project: Camel
          Issue Type: Improvement
          Components: camel-servlet
            Reporter: Rafael T C Soares


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.

[1] http://camel.apache.org/restlet.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)