Custom Validation in Mule
Validators are operations that validate the Mule Message without changing the message. Validators can produce these effects:
If the condition the validator demands is fulfilled, the flow continues, and the Mule Message remains the same.
If the condition the validator demands is not fulfilled, an error is thrown.
Today we will be creating a custom validation that will validate whether a currency is valid or not.