[
https://issues.apache.org/activemq/browse/CAMEL-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-2014.
---------------------------------
Resolution: Fixed
http://svn.apache.org/viewvc?rev=814987&view=rev
> support to set the query parameter from cxfrs uri
> -------------------------------------------------
>
> Key: CAMEL-2014
> URL: https://issues.apache.org/activemq/browse/CAMEL-2014
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
>
> Here is an user requirement to set the webclient's parameter from cxfrs URI
> {code}
>
> cxfrs://http://localhost:9010/templatetest/TID/ranges/start=0;end=1?q1=11&q2=12
>
> {code}
> There's one matrix parameter (end1) and two query parameters (q1 and q2).
> rather than setting the query parameters on the endpoint you should set them
> on the WebClient.
>
> {code}
> WebClient client =
>
> WebClient.create("http://localhost:9010/templatetest/TID/ranges/start=0;end=1");
> for every query parameter {
> client.query(name, value);
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.