modules/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/WaitBuilder.java
@Deprecated
    public WaitConditionBuilder message(String name) {
        MessageCondition condition = new MessageCondition();
        condition.setMessageName(name);
        container.setCondition(condition);
        this.buildAndRun();
        return new WaitMessageConditionBuilder(condition, this);
    }
/**
     * 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()}
     */
The message condition to wait for during execution.
@param name the message to wait on
@return WaitConditionBuilder for further configuration
@deprecated in favor of  #message()
The message condition to wait for during execution . @param name the message to wait on @return WaitConditionBuilder for further configuration @deprecated in favor of #message ()
@Deprecated
    public WaitConditionBuilder message(String name) {
        MessageCondition condition = new MessageCondition();
        condition.setMessageName(name);
        container.setCondition(condition);
        this.buildAndRun();
        return new WaitMessageConditionBuilder(condition, this);
    }
@ Deprecated public WaitConditionBuilder message ( String name ) { MessageCondition condition = new MessageCondition ( ) ; condition . setMessageName ( name ) ; container . setCondition ( condition ) ; this . buildAndRun ( ) ; return new WaitMessageConditionBuilder ( condition , this ) ; }
The message condition to wait for during execution.
The message condition to wait for during execution .