0

我是 Camel 的新手,过去几天才使用它。

我想在 bean“retreiveDetails”中进行一些处理,然后在路由的下一步中使用来自该 bean“retreiveDetails”的变量“idValue”,这是一个 http url。Routebuilder 类的一部分如下,

 .to("bean:retreiveDetails?method=process")
   .to("http://10.80.80.90:51555/patients?id=${idValue}")
    .to("bean:empiResults?method=process") 

如何在 bean“retreiveDetails”中设置“idValue”的值?以及如何在 Routebuilder 的路线中使用它?

4

1 回答 1

0

请参阅有关使用动态值的此常见问题解答:http: //camel.apache.org/how-to-use-a-dynamic-uri-in-to.html

于 2016-05-26T05:21:57.707 回答