Validation

Validation

Validating messages with the validator services

As we talk about the Validator Services we mean the following validators:

The validators return certain properties in the header of the message, after validating their specific messages.

When using a validator and setting the value of "Throw exception" on false, you can use a Filter to catch the error and do something specific with it.

The following properties will appear in your message header:

Property Description
validation_type Type of validation. For XSD validation this will be XSD.
validation_result This can be true of false. True is a signal that a validation error has occured.
validation_failed_cause The description of the cause of the validation.


If you throw an exception, the flow will be stopped at the validator, you cannot use a filter afterwards.