public interface MessageValidator
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(Message originalMessage,
Message response,
Properties messageAttributes)
Makes sure the provided message is valid.
|
boolean isValid(Message originalMessage, Message response, Properties messageAttributes)
originalMessage
- The message that has been sent.response
- A response for the original message.messageAttributes
- A snapshot of sequences' values and possible other attributes used for sending a message. These attributes can be used by a validator to replace placeholders.true
if the message passes all validations.Copyright © 2010–2017 PerfCake Community. All rights reserved.