You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by chandler <pe...@sandia.gov> on 2016/09/20 00:39:01 UTC
Rest/jetty extending the request timeout
I have the following camel rest configuration
/
<restConfiguration component="jetty" bindingMode="json" host="localhost"
port="{{server.port}}">
<dataFormatProperty key="prettyPrint" value="true"/>
</restConfiguration>
<rest path="/copy" consumes="application/json"
produces="application/json">
<post uri="/copy-file" outType="java.lang.String"
type="com.company.User">
<to urijetty="bean:fileCopyService?method=copyFileService" />
</post>
</rest>/
How can I change the request timeout for this endpoint ? I would like to
increase the timeout, by default jetty set to 30000 ms.
I tried adding /httpClient.timeout="300000"/ to the /restConfiguration/ and
got:
/Attribute 'httpClient.timeout' is not allowed to appear in element
'restConfiguration'/
Thanks in advance,
Peter.
--
View this message in context: http://camel.465427.n5.nabble.com/Rest-jetty-extending-the-request-timeout-tp5787737.html
Sent from the Camel - Users mailing list archive at Nabble.com.