modules/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/ReceiveMessageBuilder.java
public T ignore(final String path) {
        if (messageType.equalsIgnoreCase(MessageType.XML.name())
                || messageType.equalsIgnoreCase(MessageType.XHTML.name())) {
            xmlMessageValidationContext.getIgnoreExpressions().add(path);
        } else if (messageType.equalsIgnoreCase(MessageType.JSON.name())) {
            jsonMessageValidationContext.getIgnoreExpressions().add(path);
        }
        return self;
    }
/**
     * Adds ignore path expression for message element.
     * @param path
     * @return
     */
Adds ignore path expression for message element.
@param path
@return
Adds ignore path expression for message element . @param path @return
public T ignore(final String path) {
        if (messageType.equalsIgnoreCase(MessageType.XML.name())
                || messageType.equalsIgnoreCase(MessageType.XHTML.name())) {
            xmlMessageValidationContext.getIgnoreExpressions().add(path);
        } else if (messageType.equalsIgnoreCase(MessageType.JSON.name())) {
            jsonMessageValidationContext.getIgnoreExpressions().add(path);
        }
        return self;
    }
public T ignore ( final String path ) { if ( messageType . equalsIgnoreCase ( MessageType . XML . name ( ) ) || messageType . equalsIgnoreCase ( MessageType . XHTML . name ( ) ) ) { xmlMessageValidationContext . getIgnoreExpressions ( ) . add ( path ) ; } else if ( messageType . equalsIgnoreCase ( MessageType . JSON . name ( ) ) ) { jsonMessageValidationContext . getIgnoreExpressions ( ) . add ( path ) ; } return self ; }
Adds ignore path expression for message element.
Adds ignore path expression for message element .