public class ExpressionComparator extends Object implements Comparator<org.apache.camel.Exchange>
Comparator
that takes an Expression
which is evaluated on each exchange to be
comparedConstructor and Description |
---|
ExpressionComparator(org.apache.camel.Expression expression) |
Modifier and Type | Method and Description |
---|---|
int |
compare(org.apache.camel.Exchange e1,
org.apache.camel.Exchange e2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ExpressionComparator(org.apache.camel.Expression expression)
public int compare(org.apache.camel.Exchange e1, org.apache.camel.Exchange e2)
compare
in interface Comparator<org.apache.camel.Exchange>
Apache Camel