org.apache.camel.processor
Class FilterProcessor
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.processor.DelegateProcessor
org.apache.camel.processor.FilterProcessor
- All Implemented Interfaces:
- Processor, Service
public class FilterProcessor
- extends DelegateProcessor
The processor which implements the
Message Filter EIP pattern.
- Version:
- $Revision: 41826 $
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
FilterProcessor
public FilterProcessor(Predicate<Exchange> predicate,
Processor processor)
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Specified by:
process
in interface Processor
- Overrides:
process
in class DelegateProcessor
- Throws:
Exception
- if an internal processing error has occurred.
toString
public String toString()
- Overrides:
toString
in class DelegateProcessor
getPredicate
public Predicate<Exchange> getPredicate()
Copyright © 2008 IONA Open Source Community. All Rights Reserved.