Interface IMessageValidator

Assembly: redb.Route.dll

Contract for message validators. Validates the exchange body (or a specific part of it)
and returns a structured .

Implementations include JSON Schema validation, XSD validation, and custom predicate-based validation.

public interface IMessageValidator

Methods

Validate(IExchange)

Validates the exchange and returns a result indicating success or failure with error details.

ValidationResult Validate(IExchange exchange)

ValidateAsync(IExchange)

Validates the exchange asynchronously. The default forwards to ;

Task<ValidationResult> ValidateAsync(IExchange exchange)