Hi, Thank you for your help! The post data is huge because it's the bussiness data, we have tried to reduce it's size but still so huge.—_—||
The bridgeEndpoint option is works well. Again, thanks for your help! ----------------------------------------------------------------------------------------------------------- 周宇飞 Yuffie Chow 18768113769 yuffie.pa...@gmail.com 杭州新中大软件股份有限公司 NEWGRAND SOFTWARE CO.,LTD. 2015-03-18 10:43 GMT+08:00 Willem.Jiang [via Camel] < ml-node+s465427n5764314...@n5.nabble.com>: > 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 ([hidden email] > <http:///user/SendEmail.jtp?type=node&node=5764314&i=0>) 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. > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Why-camel-put-the-post-request-s-form-body-into-request-header-tp5764312p5764314.html > To unsubscribe from Why camel put the post request's form body into > request header?, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5764312&code=eXVmZmllLnBhbmRhQGdtYWlsLmNvbXw1NzY0MzEyfC0yODg4MjM1NDU=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/Why-camel-put-the-post-request-s-form-body-into-request-header-tp5764312p5764315.html Sent from the Camel - Users mailing list archive at Nabble.com.