org.springframework.integration.filter
Class ExpressionEvaluatingSelector

java.lang.Object
  extended by org.springframework.integration.filter.ExpressionEvaluatingSelector
All Implemented Interfaces:
MessageSelector

public class ExpressionEvaluatingSelector
extends java.lang.Object

A MessageSelector implementation that evaluates a SpEL expression. The evaluation result of the expression must be a boolean value.

Since:
2.0
Author:
Mark Fisher

Constructor Summary
ExpressionEvaluatingSelector(java.lang.String expression)
           
 
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

ExpressionEvaluatingSelector

public ExpressionEvaluatingSelector(java.lang.String expression)
Method Detail

accept

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