public class ProcessorEndpoint extends DefaultPollingEndpoint
Processor. This component
does not support the use of consumers.
Service or SuspendableService would do. If your
producers/consumers need more control over their lifecycle it is advised instead to extend DefaultEndpoint,
DefaultProducer and DefaultConsumer.| Modifier | Constructor and Description |
|---|---|
protected |
ProcessorEndpoint() |
|
ProcessorEndpoint(String endpointUri,
org.apache.camel.CamelContext context,
org.apache.camel.Processor processor) |
protected |
ProcessorEndpoint(String endpointUri,
org.apache.camel.Component component) |
|
ProcessorEndpoint(String endpointUri,
org.apache.camel.Component component,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.PollingConsumer |
createPollingConsumer() |
protected org.apache.camel.Processor |
createProcessor() |
org.apache.camel.Producer |
createProducer() |
org.apache.camel.Processor |
getProcessor() |
protected void |
onExchange(org.apache.camel.Exchange exchange) |
void |
setProcessor(org.apache.camel.Processor processor) |
createConsumerconfigureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected ProcessorEndpoint()
public ProcessorEndpoint(String endpointUri, org.apache.camel.CamelContext context, org.apache.camel.Processor processor)
public ProcessorEndpoint(String endpointUri, org.apache.camel.Component component, org.apache.camel.Processor processor)
protected ProcessorEndpoint(String endpointUri, org.apache.camel.Component component)
public org.apache.camel.PollingConsumer createPollingConsumer()
throws Exception
createPollingConsumer in interface org.apache.camel.EndpointcreatePollingConsumer in class DefaultEndpointExceptionpublic void setProcessor(org.apache.camel.Processor processor)
protected org.apache.camel.Processor createProcessor()
throws Exception
ExceptionApache Camel