Hi,

I have the following.

1) Using Camel-Servlet with dynamic routing enabled as follows:

this.from("servlet:///?matchOnUriPrefix=true")
                .removeHeader(Exchange.HTTP_PATH)
                .dynamicRouter(method(CamelRoute.class, "slip"));

2) In My slip method i route the incoming REST request to an external
server.

Currently having issues  as when my Camel proxy routes the REST request to
the external server the body is not attached to the request (error occurs
during deserialization as value is expected but nothing is available).

If i have a POST request with empty body (no parameters) the request
successfully executes.

Am i missing a configuration?  Do i need to manually set the body?

/Ramon



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

Reply via email to