// Bounced message is processed here, away from the mina thread
AbstractJMSMessage bouncedMessage =
_messageFactoryRegistry.createMessage(0, false, message.getBounceBody().exchange,
message.getBounceBody().routingKey, message.getContentHeader(), message.getBodies());
AMQConstant errorCode = AMQConstant.getConstant(message.getBounceBody().replyCode);
AMQShortString reason = message.getBounceBody().replyText;
_logger.debug("Message returned with error code " + errorCode + " (" + reason + ")");
// @TODO should this be moved to an exception handler of sorts. Somewhere errors are converted to correct execeptions.
if (errorCode == AMQConstant.NO_CONSUMERS)