Class 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 Detail

      • ExpressionListComparator

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

      • compare

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