code: public static IMessageReceiver createMessageReceiverFromEntityPath(MessagingFactory messagingFactory, String entityPath, ReceiveMode receiveMode) throws InterruptedException, ServiceBusException {
          return Utils.completeFuture(createMessageReceiverFromEntityPathAsync(messagingFactory, entityPath, receiveMode));
      }
docs: Creates a message receiver to the entity.
  @param messagingFactory messaging factory (which represents a connection) on which receiver needs to be created
  @param entityPath path of the entity
  @param receiveMode PeekLock or ReceiveAndDelete
  @return IMessageReceiver instance
  @throws InterruptedException if the current thread was interrupted while waiting
  @throws ServiceBusException if the receiver cannot be created