public class UnexpiredMessageSelector extends 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 GenericSelector<Message<?>>
accept
in interface MessageSelector