Class UnexpiredMessageSelector
java.lang.Object
org.springframework.integration.selector.UnexpiredMessageSelector
- All Implemented Interfaces:
GenericSelector<Message<?>>
,MessageSelector
A
MessageSelector
that accepts Messages
that are
not yet expired. If a Message's expiration date header is
null
, that Message never expires.- Author:
- Mark Fisher
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
UnexpiredMessageSelector
public UnexpiredMessageSelector()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceGenericSelector<Message<?>>
- Specified by:
accept
in interfaceMessageSelector
-