Package org.apache.camel.support
Class ExpressionComparator
java.lang.Object
org.apache.camel.support.ExpressionComparator
- All Implemented Interfaces:
Comparator<org.apache.camel.Exchange>
An implementation of
Comparator that takes an Expression which is evaluated on each exchange to be
compared-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.apache.camel.Exchange e1, org.apache.camel.Exchange e2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ExpressionComparator
public ExpressionComparator(org.apache.camel.Expression expression)
-
-
Method Details
-
compare
public int compare(org.apache.camel.Exchange e1, org.apache.camel.Exchange e2) - Specified by:
comparein interfaceComparator<org.apache.camel.Exchange>
-