Hi Reji,

contactreji wrote
> Suppose I hit the endpoint with 
*
> http://localhost:8181/cars/100?color=red&model=2015
*
>  with a http GET method, how do I access the 
*
> color=red
*
>  data in camel exchange. where does it get stored?

HTTP consumer endpoints such as Jetty (and I am guessing therefore Restlet
as well) put the URI parameters directly into exchange headers. So to access
the color, all you have to do is something like:

<log message="Received request for ${header[color]}"/>

Jakub




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Restlet-tp5767988p5768022.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to