org.apache.camel.util
Class ExpressionComparator
java.lang.Object
org.apache.camel.util.ExpressionComparator
- All Implemented Interfaces:
- Comparator<Exchange>
public class ExpressionComparator
- extends Object
- implements Comparator<Exchange>
An implementation of Comparator
that takes an Expression
which is evaluated
on each exchange to be compared
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionComparator
public ExpressionComparator(Expression expression)
compare
public int compare(Exchange e1,
Exchange e2)
- Specified by:
compare
in interface Comparator<Exchange>
Apache Camel