} else {
Courier courier = null;
try {
courier = CourierFactory.getCourier(epr);
courier.deliver(message);
} catch (final CourierException e) {
LOGGER.error("Failed to send " + messageType + " to address " + epr
+ " for message " + message.getHeader(), e);
} catch (final MalformedEPRException e) {
LOGGER.error("Failed to send " + messageType + " to address " + epr