org.apache.camel.util
Class ExpressionComparator

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

Constructor Summary
ExpressionComparator(Expression expression)
           
 
Method Summary
 int compare(Exchange e1, Exchange e2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ExpressionComparator

public ExpressionComparator(Expression expression)
Method Detail

compare

public int compare(Exchange e1,
                   Exchange e2)
Specified by:
compare in interface Comparator<Exchange>


Apache CAMEL