org.apache.camel.impl
Class DefaultPollingEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.impl.DefaultPollingEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton
- 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:
- $Revision: 751221 $
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, 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 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
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.