Using the Validate action to perform message validation