org.apache.camel.impl
Class ScheduledPollEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.impl.ScheduledPollEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton, Service, ShutdownableService, HasId, StatefulService, SuspendableService
Direct Known Subclasses:
DefaultPollingEndpoint, GenericFileEndpoint

public abstract class ScheduledPollEndpoint
extends DefaultEndpoint

A base class for Endpoint which creates a ScheduledPollConsumer

Version:

Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
protected ScheduledPollEndpoint()
           
protected ScheduledPollEndpoint(String endpointUri)
          Deprecated. 
protected ScheduledPollEndpoint(String endpointUri, CamelContext context)
          Deprecated. 
protected ScheduledPollEndpoint(String endpointUri, Component component)
           
 
Method Summary
protected  void configurePollingConsumer(PollingConsumer consumer)
           
 void configureProperties(Map<String,Object> options)
          Configure properties on this endpoint.
protected  void configureScheduledPollConsumerProperties(Map<String,Object> options, Map<String,Object> consumerProperties)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
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
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

ScheduledPollEndpoint

protected ScheduledPollEndpoint(String endpointUri,
                                Component component)

ScheduledPollEndpoint

@Deprecated
protected ScheduledPollEndpoint(String endpointUri,
                                           CamelContext context)
Deprecated. 


ScheduledPollEndpoint

@Deprecated
protected ScheduledPollEndpoint(String endpointUri)
Deprecated. 


ScheduledPollEndpoint

protected ScheduledPollEndpoint()
Method Detail

configureProperties

public void configureProperties(Map<String,Object> 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)

configureScheduledPollConsumerProperties

protected void configureScheduledPollConsumerProperties(Map<String,Object> options,
                                                        Map<String,Object> consumerProperties)

configurePollingConsumer

protected void configurePollingConsumer(PollingConsumer consumer)
                                 throws Exception
Overrides:
configurePollingConsumer in class DefaultEndpoint
Throws:
Exception


Apache Camel