Class DefaultTextEqualsMessageValidator

All Implemented Interfaces:
MessageValidator<ValidationContext>

public class DefaultTextEqualsMessageValidator extends DefaultMessageValidator
Default message validator implementation performing text equals on given message payloads. Validator auto converts message payloads into a String representation in order to perform text equals validation. Both received and control message should have textual message payloads. By default, the validator ignores leading and trailing whitespaces and normalizes the line endings before the validation. Usually this validator implementation is used as a fallback option when no other matching validator implementation could be found.
Author:
Christoph Deppisch