if (obj == null) {
logger.error("Object received in message is null");
} else if (!TransferObject.class.isInstance(obj)) {
logger.error(MessageFormat.format("Invalid class of object {0} included in received message", obj.getClass()));
} else {
TransferObject to = (TransferObject) obj;
logger.info("Ready to process and return " + ((SimpleTransferObject)to).getName() + " id: " + ((SimpleTransferObject)to).getId());
to = processMessage(to);
try {
sendResponse(to, replyToDest, message.getJMSPriority());
} catch (JMSException e) {