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 configureConsumer(Consumer consumer)
           
 void configureProperties(Map<String,Object> options)
          Configure properties on this endpoint.
 Map<String,Object> getConsumerProperties()
           
 void setConsumerProperties(Map<String,Object> consumerProperties)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointConfiguration, 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
 
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

getConsumerProperties

public Map<String,Object> getConsumerProperties()

setConsumerProperties

public void setConsumerProperties(Map<String,Object> consumerProperties)

configureConsumer

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

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)


Apache CAMEL