On 8/22/07, Hiram Chirino <[EMAIL PROTECTED]> wrote:
> If you want to post or get data from an http endpoint you are sending
> data to it... I makes sense you need a http component that can
> produce to the endpoint. So you need a route that looks like:
>
> from("direct:a").to("http://www.google.com");
>
> But right now our HTTP component does not implement the producer part.
> If someone wants to take a stab at implementing it please let me know.
> I might be able to guide you down the right path.
FWIW there is a HttpProducer which uses commons httpclient. The
HttpRouteTest test case sends to a http endpoint (using
commons-httpclient) then consumes from the endpoint using the embedded
jetty server
--
James
-------
http://macstrac.blogspot.com/