public class UnexpiredMessageSelector extends java.lang.Object implements MessageSelector
MessageSelector
that accepts Messages
that are
not yet expired. If a Message's expiration date header is
null
, that Message never expires.Constructor and Description |
---|
UnexpiredMessageSelector() |
public boolean accept(Message<?> message)
accept
in interface MessageSelector