[
https://issues.apache.org/jira/browse/CAMEL-12107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310431#comment-16310431
]
Rafael T C Soares commented on CAMEL-12107:
-------------------------------------------
Hi [~davsclaus]!
Ok! Should I raise an issue for the specific camel component (eg:
camel-undertow, camel-netty4)? I tried to configure such connection timeout on
Spring Boot (Embedded tomcat and undertow) using camel rest dsl with
camel-servlet with no success. The only component I got this working was
camel-restlet. See this simple project used for this test case:
https://github.com/rafaeltuelho/camel-sb-restlet-demo
> 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
> Assignee: Claus Ibsen
>
> 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)