public abstract class BaseSelectorProducer extends DefaultProducer
log
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Modifier | Constructor and Description |
---|---|
protected |
BaseSelectorProducer(Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected abstract Processor |
getProcessor(Exchange exchange)
Determine the processor to use to handle the exchange.
|
protected abstract void |
onMissingProcessor(Exchange exchange)
Invoked when no processor has been defined to process the message exchnage.
|
void |
process(Exchange exchange)
Processes the message exchange
|
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
protected BaseSelectorProducer(Endpoint endpoint)
public void process(Exchange exchange) throws Exception
Processor
exchange
- the message exchangeException
- if an internal processing error has occurred.protected abstract Processor getProcessor(Exchange exchange) throws Exception
exchange
- the message exchangeException
protected abstract void onMissingProcessor(Exchange exchange) throws Exception
exchange
- the message exchangeException
Apache Camel