org.apache.camel
Class FilterProcessor<E>

java.lang.Object
  extended by org.apache.camel.FilterProcessor<E>
All Implemented Interfaces:
Processor<E>

public class FilterProcessor<E>
extends Object
implements Processor<E>

Version:
$Revision: 519925 $

Constructor Summary
FilterProcessor(Predicate<E> predicate, Processor<E> processor)
           
 
Method Summary
 Predicate<E> getPredicate()
           
 Processor<E> getProcessor()
           
 void onExchange(E exchange)
          Processes the message exchange
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterProcessor

public FilterProcessor(Predicate<E> predicate,
                       Processor<E> processor)
Method Detail

onExchange

public void onExchange(E exchange)
Description copied from interface: Processor
Processes the message exchange

Specified by:
onExchange in interface Processor<E>

toString

public String toString()
Overrides:
toString in class Object

getPredicate

public Predicate<E> getPredicate()

getProcessor

public Processor<E> getProcessor()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.