You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ramrubio <ra...@yahoo.com> on 2013/07/19 23:13:07 UTC

Re: Post Request forwarded from Camel does not contain HTTP Body

Hi William,

Attached is zip file with two projects.

1.  sample.proxysvc - Contains camel proxy
2.  sample.restsvc - Simple rest servic SampleProxySvc.zip
<http://camel.465427.n5.nabble.com/file/n5735913/SampleProxySvc.zip>  e


You will notice that proxysvc enables streamcaching on camel context in
camel-config.xml.  When a POST request is made to sample REST service body
is always empty.

The only way i'm able to get it to work is by attaching a processor and
reading body into a string and setting setting in http request (Currently
this code is commented).

I'm sure i'm doing something wrong to enable stream caching.  Hopefully it
is something easy that you can easily point out.

Thank You.

/Ramon



--
View this message in context: http://camel.465427.n5.nabble.com/Post-Request-forwarded-from-Camel-does-not-contain-HTTP-Body-tp5729145p5735913.html
Sent from the Camel - Users mailing list archive at Nabble.com.