msg.setMessageId(createBridgeMessageId(mqMsg.messageId));
msg.setPersistence(createBridgePersistence(mqMsg.persistence));
return msg;
}
catch (IOException ex) {
throw new CommunicationException(this, ex);
}
catch (MQException ex) {
log.debug("MQException from receiveMessage");
throw new CommunicationException(this, ex);
}
}