Hi,When we use log EIP with http, we observe a strange behaviour. The body of
the message is getting lost after it does logging.
public class LogTest extends CamelTestSupport { @Override protected
RouteBuilder createRouteBuilder() throws Exception { return new
RouteBuilder() { @Override public void configure()
throws Exception { from("direct:testEndpoint")
.to("http://google.co.in") .log("The response body:
${body}") .log("The response body again: ${body}");
} }; } @Test public void testLogEip() throws Exception {
template.sendBody("direct:testEndpoint", null); }}
When we run the test, we observe 'The response body again' does not have any
body logged.
Ideas?
Test file: LogTest.java
<http://camel.465427.n5.nabble.com/file/n5735417/LogTest.java>
--
View this message in context:
http://camel.465427.n5.nabble.com/Log-processor-loses-message-tp5735417.html
Sent from the Camel - Users mailing list archive at Nabble.com.