org.apache.camel.processor
Class SortProcessor

java.lang.Object
  extended by org.apache.camel.processor.SortProcessor
All Implemented Interfaces:
Processor

public class SortProcessor
extends Object
implements Processor

A processor that sorts the expression using a comparator


Constructor Summary
SortProcessor(Expression expression, Comparator comparator)
           
 
Method Summary
 void process(Exchange exchange)
          Processes the message exchange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortProcessor

public SortProcessor(Expression expression,
                     Comparator comparator)
Method Detail

process

public void process(Exchange exchange)
             throws Exception
Description copied from interface: Processor
Processes the message exchange

Specified by:
process in interface Processor
Throws:
Exception - if an internal processing error has occurred.


Copyright © 2009 Apache Software Foundation. All Rights Reserved.