Class UnexpiredMessageSelector
java.lang.Object
org.springframework.integration.selector.UnexpiredMessageSelector
- All Implemented Interfaces:
GenericSelector<Message<?>>
,MessageSelector
public class UnexpiredMessageSelector extends Object implements 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
Constructors Constructor Description UnexpiredMessageSelector()
-
Method Summary
-
Constructor Details
-
UnexpiredMessageSelector
public UnexpiredMessageSelector()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceGenericSelector<Message<?>>
- Specified by:
accept
in interfaceMessageSelector
-