org.apache.camel.component.directvm
Class DirectVmProducer
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.directvm.DirectVmProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService, StatefulService, SuspendableService
public class DirectVmProducer
- extends DefaultProducer
The direct-vm producer
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 |
DirectVmProducer
public DirectVmProducer(DirectVmEndpoint endpoint)
getEndpoint
public DirectVmEndpoint getEndpoint()
- Description copied from interface:
Producer
- Gets the endpoint this producer sends to.
- Specified by:
getEndpoint
in interface Producer
- Overrides:
getEndpoint
in class DefaultProducer
- Returns:
- the endpoint
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Parameters:
exchange
- the message exchange
- Throws:
Exception
- if an internal processing error has occurred.
Apache CAMEL