public Collection<KeyValueAnnotation> responseAnnotations() {
KeyValueAnnotation key1 = KeyValueAnnotation.create("camel.client.endpoint.url", url);
KeyValueAnnotation key2 = KeyValueAnnotation.create("camel.client.exchange.id", exchange.getExchangeId());
KeyValueAnnotation key3 = KeyValueAnnotation.create("camel.client.exchange.pattern", exchange.getPattern().name());
KeyValueAnnotation key4 = null;
<BUG>if (eventNotifier.isIncludeMessageBody()) {
String body = MessageHelper.extractBodyForLogging(exchange.hasOut() ? exchange.getOut() : exchange.getIn(), "");
</BUG>
key4 = KeyValueAnnotation.create("camel.client.exchange.message.response.body", body);
}

public Collection<KeyValueAnnotation> responseAnnotations() {
KeyValueAnnotation key1 = KeyValueAnnotation.create("camel.client.endpoint.url", url);
KeyValueAnnotation key2 = KeyValueAnnotation.create("camel.client.exchange.id", exchange.getExchangeId());
KeyValueAnnotation key3 = KeyValueAnnotation.create("camel.client.exchange.pattern", exchange.getPattern().name());
KeyValueAnnotation key4 = null;
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.client.exchange.message.response.body", body);
}
