org.apache.camel.impl
Class DefaultPollingEndpoint<E extends Exchange>
java.lang.Object
org.apache.camel.impl.DefaultEndpoint<E>
org.apache.camel.impl.ScheduledPollEndpoint<E>
org.apache.camel.impl.DefaultPollingEndpoint<E>
- All Implemented Interfaces:
- CamelContextAware, Endpoint<E>
- Direct Known Subclasses:
- ProcessorEndpoint
public abstract class DefaultPollingEndpoint<E extends Exchange>
- extends ScheduledPollEndpoint<E>
A base class for an endpoint which the default consumer mode is to use a PollingConsumer
- Version:
- $Revision: 656397 $
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
DefaultPollingEndpoint
protected DefaultPollingEndpoint()
DefaultPollingEndpoint
protected DefaultPollingEndpoint(String endpointUri)
DefaultPollingEndpoint
protected DefaultPollingEndpoint(String endpointUri,
Component component)
DefaultPollingEndpoint
protected DefaultPollingEndpoint(String endpointUri,
CamelContext context)
createConsumer
public Consumer<E> 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
- Returns:
- a newly created consumer
- Throws:
Exception
Apache CAMEL