Hello Claus,

thank you for your answer. As for the version I am using Camel 2.6.0
deployed inside jetty-7.2.2.v20101205.

I tried the {} placeholders you suggested but unfortunately without any
effect. I modified the route as:

>        <camel:route>
>            <camel:from uri="direct:test"/>
>            <camel:setHeader headerName="locale">
>                    <camel:constant>cs_CZ</camel:constant>
>            </camel:setHeader>
>            <camel:to
> uri="restlet:http://localhost:8089/?locale={locale}"/>
>            ...
>        </camel:route>

But the HTTP GET request I received contains the placeholder unmodified:

GET http://dev:8089/?locale=%7Blocale%7D HTTP/1.1
Host: dev:8089
User-Agent: Noelios-Restlet-Engine/1.1.10
Referer: camel-restlet
Accept: */*
Connection: close

I will dive deeper into the restlet.org library to be able to provide my own
RestletBinding that will put the dynamic parameters of the query at the
correct "place". Or any other suggestions?

Petr

--
View this message in context: 
http://camel.465427.n5.nabble.com/restlet-component-GET-request-and-query-string-parameters-tp3964973p4219634.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to