public interface ValidationPhaseTemplate extends MessageProcessTemplate
| Modifier and Type | Method and Description |
|---|---|
void |
discardInvalidMessage()
Discards the message because the validation failed
|
boolean |
validateMessage()
Validates the message content.
|
boolean validateMessage()
discardInvalidMessage() will be executed so the implementation can save
the reason why the message is invalid to report why the message has been discarded when discardInvalidMessage() is
calledvoid discardInvalidMessage()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.