}
<BUG>Exchange exchange = endpoint.getExchanges().get(index);
if (exchange == null) {</BUG>
return null;
}
<BUG>Object body;
if (exchange.hasOut()) {
body = exchange.getOut().getBody();
</BUG>
} else {

}
@ManagedOperation(description = "Current number of Exchanges in Queue")
public long queueSize() {
return endpoint.getExchanges().size();
}
