Class MessageSourcePollingTemplate
java.lang.Object
org.springframework.integration.endpoint.MessageSourcePollingTemplate
- All Implemented Interfaces:
PollingOperations
A
PollingOperations
used to ad-hoc poll a MessageSource
.
If the source supports deferred acknowledgment, it will be ACCEPTed
or REJECTed if necessary.- Since:
- 5.0.1
- Author:
- Gary Russell
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MessageSourcePollingTemplate
-
-
Method Details
-
poll
Description copied from interface:PollingOperations
Poll for a message.- Specified by:
poll
in interfacePollingOperations
- Parameters:
handler
- a message handler.- Returns:
- the message
-