KeyValueAnnotation key3 = KeyValueAnnotation.create("camel.server.exchange.pattern", mep);
KeyValueAnnotation key4 = null;
if (exchange.getException() != null) {
String message = exchange.getException().getMessage();
key4 = KeyValueAnnotation.create("camel.server.exchange.failure", message);
<BUG>} else if (eventNotifier.isIncludeMessageBody()) {
String body = MessageHelper.extractBodyForLogging(exchange.hasOut() ? exchange.getOut() : exchange.getIn(), "");
</BUG>
key4 = KeyValueAnnotation.create("camel.server.exchange.message.response.body", body);
}

KeyValueAnnotation key3 = KeyValueAnnotation.create("camel.server.exchange.pattern", mep);
KeyValueAnnotation key4 = null;
if (exchange.getException() != null) {
String message = exchange.getException().getMessage();
key4 = KeyValueAnnotation.create("camel.server.exchange.failure", message);
} else if (eventNotifier.isIncludeMessageBody() || eventNotifier.isIncludeMessageBodyStreams()) {
boolean streams = eventNotifier.isIncludeMessageBodyStreams();
String body = MessageHelper.extractBodyForLogging(exchange.hasOut() ? exchange.getOut() : exchange.getIn(), "", streams, streams);
key4 = KeyValueAnnotation.create("camel.server.exchange.message.response.body", body);
}
