Ah see this FAQ
http://camel.apache.org/faq

If you are on a new camel version, use the new toD - if not use
receipientList as in the FAQ

On Tue, Dec 8, 2015 at 3:38 PM, Vero Kato <vero.ka...@gmail.com> wrote:
> 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
>>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to