org.apache.camel.impl
Class DefaultPollingEndpoint
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.impl.DefaultPollingEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton, Service, ShutdownableService, HasId, StatefulService, SuspendableService
- Direct Known Subclasses:
- ProcessorEndpoint
public abstract class DefaultPollingEndpoint
- extends ScheduledPollEndpoint
A base class for an endpoint which the default consumer mode is to use a PollingConsumer
- Version:
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
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 |
DefaultPollingEndpoint
protected DefaultPollingEndpoint()
DefaultPollingEndpoint
protected DefaultPollingEndpoint(String endpointUri,
Component component)
DefaultPollingEndpoint
@Deprecated
protected DefaultPollingEndpoint(String endpointUri)
- Deprecated.
DefaultPollingEndpoint
@Deprecated
protected DefaultPollingEndpoint(String endpointUri,
CamelContext context)
- Deprecated.
createConsumer
public Consumer createConsumer(Processor processor)
throws Exception
- Description copied from interface:
Endpoint
- Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
- Parameters:
processor
- the given processor
- Returns:
- a newly created consumer
- Throws:
Exception
- can be thrown
Apache CAMEL