Class PayloadValidator<T>

java.lang.Object
org.springframework.integration.test.support.AbstractResponseValidator<T>
org.springframework.integration.test.support.PayloadValidator<T>
All Implemented Interfaces:
org.springframework.messaging.MessageHandler

public abstract class PayloadValidator<T>
extends AbstractResponseValidator<T>
Validate a message payload. Create an anonymous instance or subclass this to validate a response payload.
  • Constructor Summary

    Constructors 
    Constructor Description
    PayloadValidator()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean extractPayload()
    If true will extract the payload as the parameter for validateResponse()

    Methods inherited from class org.springframework.integration.test.support.AbstractResponseValidator

    getLastMessage, handleMessage, validateResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait