camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Issue with camel-http4 HttpProducer
Date Fri, 25 Oct 2013 08:16:21 GMT
Hi

Yeah we could improve on that with an option so you can force not
sending any body. Feel free to log a JIRA



On Mon, Sep 30, 2013 at 2:02 PM, sbo13 <sbo13@gmx.de> wrote:
> Hi,
>
> I'm having a problem with the HttpProducer of camel-http4 (version 2.12)
>
> In the createMethod() function, line 365, the producer always tries to build
> a request entity.
> Unfortunately we issue a lot of GET requests that don't support bodies, but
> in order to build the request-url we have a body in the exchange.
>
> BUT since the producer always tries to marshal the exchange body I get a
> exception saying no converter can be found to transform it.
> It looks a bit odd to me that although I say 'No, I don't want to send a
> body!' camel still tries to build one.
>
> Regards
> Sebastian
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Issue-with-camel-http4-HttpProducer-tp5740548.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message