hi, sorry, I didn't get any answer about this. can someone from the Apache
Camel devs reply.

On Sun, Dec 6, 2015 at 12:03 PM, Vero Kato <vero.ka...@gmail.com> wrote:

> hi, I'm using Apache Camel with Camel REST and Camel Jetty.
>
> I don't have any problems when we expose our Rest API like this:
> localhost:8080/rest/OurService/Value1/Value2
>
> but I can't understand how I can extract data from this URL
>
> localhost:8080/rest/OurService?key1=Value1&ke2=Value2
>
> i.e. I need something like this, but can't make it work:
>
> rest("/rest/OurService/").description("Our Service Description")
>                  .produces("application/json")
> .outType(LocalNetpositionQueryService.class)
>
>  .to("bean:ourLocalService?method=retrieveData(${header.key1},
> ${header.key2})");
>
> Can you please suggest how to extract nicely with Camel Rest + Camel Jetty
> http query string key-value pairs?
>
> Thanks.
> Vero
>

Reply via email to