【发布时间】:2013-02-10 21:21:11
【问题描述】:
我正在尝试使用的人
{
from("direct:a").to (someUrl).processor(new Processor(){
@Override
public void process(Exchange arg0) throws Exception
{
// do something
}
});
where someUrl is of the type http://xyz.com/{id}?test=<value1>&test1=<value2>
}
并且这个 url 会随着路由的每个请求而改变。
我已经尝试过了。将参数作为标题传递并尝试使用 header("test") 和使用 ${in.header.test} 在路由中访问两者似乎都不起作用。
任何建议都会很有帮助。
【问题讨论】:
标签: http url dynamic apache-camel endpoint