如何配置camel rest request timeout

时间:2016-05-04 18:04:36

标签: apache-camel jetty-9

我有以下驼峰休息配置

       

    <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 uri="bean:fileCopyService?method=copyFileService" />
        </post>         
    </rest>

如何更改此端点的请求超时?我想增加超时,默认将jetty设置为3000毫秒。

由于

0 个答案:

没有答案