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 MuleException
MuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.