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.

Reply via email to