public class MessageSourcePollingTemplate extends Object implements PollingOperations
PollingOperations
used to ad-hoc poll a MessageSource
.
If the source supports deferred acknowledgment, it will be ACCEPTed
or REJECTed if necessary.Constructor and Description |
---|
MessageSourcePollingTemplate(MessageSource<?> source) |
public MessageSourcePollingTemplate(MessageSource<?> source)
public boolean poll(MessageHandler handler)
PollingOperations
poll
in interface PollingOperations
handler
- a message handler.