When the content-type is application/x-www-form-urlencoded, it means the POST 
message body is form, so camel try to parser the message body into a value set 
and put them into a message header.

Can you check why the post body is huge?
If you are using camel-jetty and camel-netty4-http to build a proxy, you need 
to setup the bridgeEndpoint option to be true.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On March 18, 2015 at 10:13:00 AM, Yuffie (yuffie.pa...@gmail.com) wrote:
> Hey,
> I'm a newbie in camel.
> When I use camel-jetty and camel-netty4-http, I find the component will put
> the body into header when the content-type is
> application/x-www-form-urlencoded.
> It cause the OutOfBoundException when the post body is huge.
> Is this an issue? Or there is any reason that camel must put post body into
> header?
>  
> Thank you for help!
>  
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Why-camel-put-the-post-request-s-form-body-into-request-header-tp5764312.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to