exchange.setStatus(ExchangeStatus.DONE);
getDeliveryChannel().send(exchange);
if (exchange.getError() != null) {
throw new MessagingException("Received error", exchange.getError());
} else if (exchange.getFault() != null) {
throw new FaultException("Received fault", exchange, exchange.getFault());
} else {
throw new MessagingException("Received unknown error");
}
} else {
NormalizedMessage out = exchange.getOutMessage();