Apache camel 如何配置驼峰休息请求超时
我有以下camel rest配置Apache camel 如何配置驼峰休息请求超时,apache-camel,jetty-9,Apache Camel,Jetty 9,我有以下camel rest配置 如何更改此端点的请求超时?我想增加超时,默认情况下jetty设置为3000毫秒 谢谢我找到了解决方案,您可以将以下配置放入restConfiguration <restConfiguration component="jetty" bindingMode="json" host="localhost" port="{{server.port}}"> <dataFormatProperty key="prettyP
如何更改此端点的请求超时?我想增加超时,默认情况下jetty设置为3000毫秒
谢谢我找到了解决方案,您可以将以下配置放入restConfiguration
<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>