[
https://issues.apache.org/activemq/browse/CAMEL-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61038#action_61038
]
Claus Ibsen commented on CAMEL-3021:
------------------------------------
See nabble
http://camel.465427.n5.nabble.com/Setting-url-params-in-REST-call-with-Camel-tp2257861p2257861.html
> Restlet producer should support substituting { } placeholders in the uri with
> header values before sending
> ----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-3021
> URL: https://issues.apache.org/activemq/browse/CAMEL-3021
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-restlet
> Affects Versions: 2.4.0
> Reporter: Claus Ibsen
> Fix For: 2.5.0
>
>
> {code}
> from("direct:start").to("restlet:http://localhost:9080/users/{id}/basic?restletMethod=get");
> {code}
> The id should be subbed at runtime with the value of the id header of the
> Camel Message. If header is absent an exception should be thrown.
> So if the id is 123 then the uri to be getted would be:
> {{http://localhost:9080/users/123/basic}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.