Uses of Class
org.springframework.integration.test.mock.MockMessageHandler
Packages that use MockMessageHandler
Package
Description
Utilities for mocking integration components.
-
Uses of MockMessageHandler in org.springframework.integration.test.mock
Methods in org.springframework.integration.test.mock that return MockMessageHandlerModifier and TypeMethodDescriptionMockMessageHandler.handleNext(Consumer<Message<?>> nextMessageConsumer) Add theConsumerto the stack to handle the next incoming message.MockMessageHandler.handleNextAndReply(Function<Message<?>, ?> nextMessageFunction) Add theFunctionto the stack to handle the next incoming message and produce reply for it.static MockMessageHandlerMockIntegration.mockMessageHandler()Build aMockMessageHandlerinstance.static MockMessageHandlerMockIntegration.mockMessageHandler(org.mockito.ArgumentCaptor<Message<?>> messageArgumentCaptor) Build aMockMessageHandlerinstance based on the providedArgumentCaptor.