org.apache.camel.component.seda
Class SedaProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.seda.CollectionProducer
org.apache.camel.component.seda.SedaProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service
public class SedaProducer
- extends CollectionProducer
- Version:
- $Revision: 794648 $
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
SedaProducer
public SedaProducer(SedaEndpoint endpoint,
BlockingQueue<Exchange> queue,
WaitForTaskToComplete waitForTaskToComplete,
long timeout)
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 CollectionProducer
- Parameters:
exchange - the message exchange
- Throws:
Exception - if an internal processing error has occurred.
doStart
protected void doStart()
throws Exception
- Overrides:
doStart in class DefaultProducer
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop in class DefaultProducer
- Throws:
Exception
Apache CAMEL