Best way to recive data from an http endpoint?

2010-10-22 Thread Lorenz, Stefan
Hi, I'm trying to get data from a web service. I tried it with the ConsumerTemplate and just using consumer.receiveBody("http://foo/?query=bar... ") this is working but there I got an error because of the whitespaces in the query parameter... I have encoded them correctly.

Re: Best way to recive data from an http endpoint?

2010-10-22 Thread Jean-Baptiste Onofré
Hi Stefan, When you say "get data from a web service", does it mean that you want that Camel act as a consumer, binding a HTTP endpoint expecting incoming SOAP message or Camel act as a provider and communicates with an "external" WebService ? I guess it's the first behavior: Camel as a cons

AW: Best way to recive data from an http endpoint?

2010-10-22 Thread Lorenz, Stefan
Thx, I got it working now. I've created a route with an http component inside... -Ursprüngliche Nachricht- Von: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Gesendet: Freitag, 22. Oktober 2010 11:21 An: users@camel.apache.org Betreff: Re: Best way to recive data from an