Uses of Class
org.springframework.integration.test.support.RequestResponseScenario
Package
Description
Provides several test support classes including for testing Spring Integration
request-response message scenarios.
-
Uses of RequestResponseScenario in org.springframework.integration.test.support
Modifier and TypeMethodDescriptionprotected abstract RequestResponseScenario
SingleRequestResponseScenarioTests.defineRequestResponseScenario()
RequestResponseScenario.setMessage
(Message<?> message) Set the request message (as an alternative to setPayload())Set the scenario name (optional)RequestResponseScenario.setPayload
(Object payload) set the payload of the request messageRequestResponseScenario.setResponseValidator
(AbstractResponseValidator<?> responseValidator) Set the response validatorModifier and TypeMethodDescriptionprotected abstract List<RequestResponseScenario>
AbstractRequestResponseScenarioTests.defineRequestResponseScenarios()
Implement this method to define RequestResponse scenariosprotected List<RequestResponseScenario>
SingleRequestResponseScenarioTests.defineRequestResponseScenarios()