【问题标题】:How can i specify timout in apache camel route如何在 apache 骆驼路由中指定超时
【发布时间】:2019-03-14 09:07:50
【问题描述】:

我有一个 apache 骆驼路由,我想为该路由指定超时,如果该路由在该超时内未完成需要引发超时异常。 情商:

<route id="id"> <from uri="xyz"/> //does some calculation call some other routes. </route>

【问题讨论】:

    标签: java spring apache-camel dsl


    【解决方案1】:

    您可以使用 Camel 异步 API 来实现您想要的。看看类似的问题(和解决方案)here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-05-11
      • 2014-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多