camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Disable chunked encoding on HTTP4 component
Date Sun, 26 May 2013 21:46:59 GMT
Hey Chris!

I checked the API docs at [1]. It looks like you are using HTTP/1.1 and
your entity content length is unknown. Can you confirm this? Any chance to
determine the content length?

[1]
http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/entity/AbstractHttpEntity.html#setChunked%28boolean%29


Best,

Christian Müller
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Fri, May 24, 2013 at 5:18 AM, Chris Geer <chris@cxtsoftware.com> wrote:

> Is there a way to disable using chunked encoding on the HTTP4 component? I
> have a server that apparently doesn't like chunked messages. I was able to
> switch to use the HTTP component but I know that is eventually going to go
> away.
>
> I tried setting the CamelHttpChunked header to false but that doesn't seem
> to be used by the Producer code.
>
> I'm using Camel 2.10.4
>
> Thanks,
> Chris
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message