Spring Integration

org.springframework.integration.selector
Class UnexpiredMessageSelector

java.lang.Object
  extended by 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

Constructor Summary
UnexpiredMessageSelector()
           
 
Method Summary
 boolean accept(Message<?> message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnexpiredMessageSelector

public UnexpiredMessageSelector()
Method Detail

accept

public boolean accept(Message<?> message)
Specified by:
accept in interface MessageSelector

Spring Integration

Copyright © 2010. All Rights Reserved.