Hi Claus,
If we do it like this, we can get the POST values into process Exchange.
from("servlet:///hello?servletName=TestServlet").streamCaching().log("log:
${body}").process(new Processor() {
public void process(Exchange exchange) throws
Exception {
String data =
exchange.getIn().getBody(String.class);
LOG.info("log data message " + data);
}
}
Thanks for your help.
--
View this message in context:
http://camel.465427.n5.nabble.com/Exchange-Body-is-null-while-using-processor-tp5754445p5754617.html
Sent from the Camel - Users mailing list archive at Nabble.com.