org.apache.camel.processor.resequencer
Interface ExpressionResultComparator

All Superinterfaces:
Comparator<Exchange>, SequenceElementComparator<Exchange>
All Known Implementing Classes:
DefaultExchangeComparator

public interface ExpressionResultComparator
extends SequenceElementComparator<Exchange>

A SequenceElementComparator that compares Exchanges based on the result of an expression evaluation.

Version:

Method Summary
 void setExpression(Expression expression)
          Set the expression sed for comparing Exchanges.
 
Methods inherited from interface org.apache.camel.processor.resequencer.SequenceElementComparator
predecessor, successor
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

setExpression

void setExpression(Expression expression)
Set the expression sed for comparing Exchanges.

Parameters:
expression - the expression


Apache CAMEL