public interface ResponseValidator
| Modifier and Type | Method and Description |
|---|---|
void |
validate(org.mule.runtime.api.message.Message muleMessage,
MuleContext context)
Validates whether a message should be accepted or not, failing in that case.
|
void validate(org.mule.runtime.api.message.Message muleMessage,
MuleContext context)
throws ResponseValidatorException
muleMessage - the message to validatecontext - the Mule Context for the current application.ResponseValidatorException - if the message is not considered valid.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.