code: public static IMessageSender createMessageSenderFromEntityPath(MessagingFactory messagingFactory, String entityPath) throws InterruptedException, ServiceBusException {
          return Utils.completeFuture(createMessageSenderFromEntityPathAsync(messagingFactory, entityPath));
      }
docs: Creates a message sender to the entity.
  @param messagingFactory messaging factory (which represents a connection) on which sender needs to be created
  @param entityPath path of entity
  @return IMessageSender instance
  @throws InterruptedException if the current thread was interrupted while waiting
  @throws ServiceBusException if the sender cannot be created