Message message = holder.getMessage();
boolean timeout = holder.isTimeout();
if (timeout) {
// no response, so lets set a timed out exception
exchange.setException(new ExchangeTimedOutException(exchange, holder.getRequestTimeout()));
} else {
JmsMessage response = new JmsMessage(message, endpoint.getBinding());
Object body = response.getBody();
if (endpoint.isTransferException() && body instanceof Exception) {