Class UnexpiredMessageSelector

java.lang.Object
org.springframework.integration.selector.UnexpiredMessageSelector
All Implemented Interfaces:
GenericSelector<org.springframework.messaging.Message<?>>, MessageSelector

public class UnexpiredMessageSelector
extends java.lang.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.
  • Constructor Summary

    Constructors 
    Constructor Description
    UnexpiredMessageSelector()  
  • Method Summary

    Modifier and Type Method Description
    boolean accept​(org.springframework.messaging.Message<?> message)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait