camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-3021) Restlet producer should support substituting { } placeholders in the uri with header values before sending
Date Fri, 06 Aug 2010 01:37:00 GMT
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.


Mime
View raw message