logger.debug("event=test_publisher_not_null publisher=" + testPublisher);
} else {
logger.debug("event=test_publisher_null protocol=" + protocol.name());
}
IEndpointPublisher pub = (testPublisher == null ? EndpointPublisherFactory.getPublisherInstance(protocol) : testPublisher);
try {
runCommonAndRetry(pub, protocol, endpoint, subArn, rawDelivery);
} catch (Exception ex) {
logger.error("event=publish_job_error", ex);
}