code: public static CompletableFuture<IMessageSession> acceptSessionFromEntityPathAsync(MessagingFactory messagingFactory, String entityPath, String sessionId, ReceiveMode receiveMode) {
          return acceptSessionFromEntityPathAsync(messagingFactory, entityPath, null, sessionId, receiveMode);
      }
docs: Asynchronously accepts a session from service bus using the client settings. Session Id can be null, if null, service will return the first available session.
  @param messagingFactory messaging factory (which represents a connection) on which the session receiver needs to be created.
  @param entityPath path of entity
  @param sessionId session id, if null, service will return the first available session, otherwise, service will return specified session
  @param receiveMode PeekLock or ReceiveAndDelete
  @return a CompletableFuture representing the pending session accepting