我在尝试使用Camel-http4 4组件时遇到了问题。我想要做的是从我的骆驼路线设置矩阵旁,其余的服务需要正常工作。有什么办法吗?
谢谢你,罗夏娜
发布于 2014-11-25 20:02:39
使用传统的查询参数,Camel URI看起来如下:
from("direct:start")
.to("http4://oldhost?order=123&detail=short");因此,使用矩阵参数也应该有效:
from("direct:start")
.to("http4://oldhost;order=123;detail=short");编辑:
使用Exchange.HTTP_URI动态设置属性或使用recipientList,如:
from("direct:start")
.recipientList(simple("http4://oldhost;order=${header.123Header};detail={{value.from.cfg}}"));https://stackoverflow.com/questions/27120860
复制相似问题