code: @Deprecated
      public WaitConditionBuilder message(String name) {
          MessageCondition condition = new MessageCondition();
          condition.setMessageName(name);
          container.setCondition(condition);
          this.buildAndRun();
          return new WaitMessageConditionBuilder(condition, this);
      }
docs: The message condition to wait for during execution.
  
  @param name the message to wait on
  @return WaitConditionBuilder for further configuration
  @deprecated in favor of {@link #message()}