if (executor == null) {
logger.error("fail to get executor-service for batch message: " + message.getId()
+ ". msgType: " + message.getMsgType() + ", resource: " + message.getResourceName());
return null;
}
return new BatchMessageHandler(message, context, this, wrapper, executor);
}
}