org.apache.camel.component.directvm
Class DirectVmProcessor
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.processor.DelegateProcessor
org.apache.camel.component.directvm.DirectVmProcessor
- All Implemented Interfaces:
- DelegateProcessor, Navigate<Processor>, Processor, Service, ShutdownableService, StatefulService, SuspendableService
public final class DirectVmProcessor
- extends DelegateProcessor
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
DirectVmProcessor
public DirectVmProcessor(Processor processor,
DirectVmEndpoint endpoint)
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
- Parameters:
exchange
- the message exchange
- Throws:
Exception
- if an internal processing error has occurred.
prepareExchange
protected Exchange prepareExchange(Exchange exchange)
- Strategy to prepare exchange for being processed by this consumer
- Parameters:
exchange
- the exchange
- Returns:
- the exchange to process by this consumer.
toString
public String toString()
- Overrides:
toString
in class DelegateProcessor
Apache CAMEL