【发布时间】:2015-09-20 03:06:57
【问题描述】:
这是我的代码:
<route id="GetPersonDetails">
<description>To get details of a person </description>
<from uri="jetty:http://0.0.0.0:8345/details/getDetails" />
<bean ref="PersonalDetails" method="getPersonDetails" />
</route>
我的方法“getPersonDetails”将“人”名作为输入并显示该人的详细信息。
我正在尝试调用 URL,例如:
http:xxx.xxx.xx.xxx:8345/details/getDetails(${header.name})='John'
我不知道如何调用此链接。请用正确的语法和例子纠正(帮助)我。我是骆驼的新手。
提前谢谢大家。
【问题讨论】:
标签: java rest apache-camel