org.springframework.integration.selector
Class UnexpiredMessageSelector
java.lang.Object
org.springframework.integration.selector.UnexpiredMessageSelector
- All Implemented Interfaces:
- 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnexpiredMessageSelector
public UnexpiredMessageSelector()
accept
public boolean accept(Message<?> message)
- Specified by:
accept in interface MessageSelector
Copyright © 2010. All Rights Reserved.