code: public static void notifyEntities(List<HookNotification.HookNotificationMessage> messages, int maxRetries) {
          notifyEntitiesInternal(messages, maxRetries, notificationInterface, logFailedMessages, failedMessagesLogger);
      }
docs: Notify atlas of the entity through message. The entity can be a
  complex entity with reference to other entities.
  De-duping of entities is done on server side depending on the
  unique attribute on the entities.
  
  @param messages   hook notification messages
  @param maxRetries maximum number of retries while sending message to messaging system