modules/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/ReceiveMessageBuilder.java
public T validationCallback(final ValidationCallback callback) {
        if (callback instanceof ApplicationContextAware) {
            ((ApplicationContextAware) callback).setApplicationContext(applicationContext);
        }

        getAction().setValidationCallback(callback);
        return self;
    }
/**
     * Adds validation callback to the receive action for validating 
     * the received message with Java code.
     * @param callback
     * @return
     */
Adds validation callback to the receive action for validating
the received message with Java code.
@param callback
@return
Adds validation callback to the receive action for validating the received message with Java code . @param callback @return
public T validationCallback(final ValidationCallback callback) {
        if (callback instanceof ApplicationContextAware) {
            ((ApplicationContextAware) callback).setApplicationContext(applicationContext);
        }
        getAction().setValidationCallback(callback);
        return self;
    }
public T validationCallback ( final ValidationCallback callback ) { if ( callback instanceof ApplicationContextAware ) { ( ( ApplicationContextAware ) callback ) . setApplicationContext ( applicationContext ) ; } getAction ( ) . setValidationCallback ( callback ) ; return self ; }
Adds validation callback to the receive action for validating
 the received message with Java code.
Adds validation callback to the receive action for validating the received message with Java code .