} catch (IllegalArgumentException e) {
LOG.error("Invalid destination '{}'. {}", new Object[] { aDestination.getAddress(), e.getMessage(), e });
return false;
}
Connection connection = null;
if (testMode) {
return true;
}
Message message = createMessage(aMessage, connection);
connection.sendMessage(message);
return true;
}