Class ExpressionListComparator

java.lang.Object
org.apache.camel.support.ExpressionListComparator
All Implemented Interfaces:
Comparator<org.apache.camel.Exchange>

public class ExpressionListComparator extends Object implements Comparator<org.apache.camel.Exchange>
An implementation of Comparator which takes a list of Expression objects which is evaluated on each exchange to compare them
  • Constructor Details

    • ExpressionListComparator

      public ExpressionListComparator(List<org.apache.camel.Expression> expressions)
  • Method Details

    • compare

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