Apache camel 带有查询参数的驼峰路由配置文件

Apache camel 带有查询参数的驼峰路由配置文件,apache-camel,query-parameters,Apache Camel,Query Parameters,我有一个适用于rest服务的“.route”文件,它的资源位于URI的中间: <from uri='restlet:/foo/{id}/bar 现在,我想要一个带有URI的“.route”,其中包含一个查询参数。 我尝试了很多方法,比如: <from uri='restlet:/foo/baz?color={aColor} 所有参数都在问号receive as camel选项之后(例如restleMethod、connectionTimeout…请参阅)。只需使用 <fro

我有一个适用于rest服务的“.route”文件,它的资源位于URI的中间:

<from uri='restlet:/foo/{id}/bar
现在,我想要一个带有URI的“.route”,其中包含一个查询参数。 我尝试了很多方法,比如:

<from uri='restlet:/foo/baz?color={aColor}

所有参数都在问号receive as camel选项之后(例如restleMethod、connectionTimeout…请参阅)。只需使用

<from uri='restlet:/foo/baz?color={aColor}