org.apache.camel.impl
Class ScheduledPollEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.impl.ScheduledPollEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton
Direct Known Subclasses:
DefaultPollingEndpoint, GenericFileEndpoint

public abstract class ScheduledPollEndpoint
extends DefaultEndpoint

A base class for Endpoint which creates a ScheduledPollConsumer

Version:
$Revision: 789087 $

Constructor Summary
protected ScheduledPollEndpoint()
           
protected ScheduledPollEndpoint(String endpointUri)
           
protected ScheduledPollEndpoint(String endpointUri, CamelContext context)
           
protected ScheduledPollEndpoint(String endpointUri, Component component)
           
 
Method Summary
protected  void configureConsumer(Consumer consumer)
           
 void configureProperties(Map options)
          Configure properties on this endpoint.
 Map getConsumerProperties()
           
 void setConsumerProperties(Map consumerProperties)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
convertTo, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Endpoint
createConsumer, createProducer
 
Methods inherited from interface org.apache.camel.IsSingleton
isSingleton
 

Constructor Detail

ScheduledPollEndpoint

protected ScheduledPollEndpoint(String endpointUri,
                                Component component)

ScheduledPollEndpoint

protected ScheduledPollEndpoint(String endpointUri,
                                CamelContext context)

ScheduledPollEndpoint

protected ScheduledPollEndpoint(String endpointUri)

ScheduledPollEndpoint

protected ScheduledPollEndpoint()
Method Detail

getConsumerProperties

public Map getConsumerProperties()

setConsumerProperties

public void setConsumerProperties(Map consumerProperties)

configureConsumer

protected void configureConsumer(Consumer consumer)
                          throws Exception
Throws:
Exception

configureProperties

public void configureProperties(Map options)
Description copied from interface: Endpoint
Configure properties on this endpoint.

Specified by:
configureProperties in interface Endpoint
Overrides:
configureProperties in class DefaultEndpoint
Parameters:
options - the options (properties)


Apache CAMEL