<camel:from id="_from2" uri="timer://foo?repeatCount=1"/>
<camel:to id="_to2" uri="DBSQLComponent:{{sql.testQuery}}"/>
<log id="_log4" message="Received ${body.size()} records from the poller query"/>
<log id="_log5" message="Message Body= ${body}"/>
<to id="_to3" uri="log:output?showAll=true"/>
<camel:process id="_processNewNotifications" ref="newNotifications"/>
<setHeader headerName="CamelHttpMethod" id="setHeader4">
<constant>GET</constant>
</setHeader>
<setHeader headerName="Content-Type" id="_setHeader5">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="CamelHttpQuery" id="setHeader7">
<simple>Id=${property.POList}</simple>
</setHeader>
<inOut id="_createPO" uri="cxfrs:bean:purchaseOrderDetailsEndpoint+${property.POList}"/>
</camel>
我是骆驼的新手,我正在努力寻找资源来仅附加参数的值?对于当前代码,它将添加 ?Id=${property.POList} 到端点。我只希望将值 ${property.POList} 添加到其余端点。请建议最好的做法是在 Spring DSL 中只向端点添加一个值。谢谢!