org.apache.camel.impl
Class ScheduledPollEndpoint<E extends Exchange>

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<E>
      extended by org.apache.camel.impl.ScheduledPollEndpoint<E>
All Implemented Interfaces:
CamelContextAware, Endpoint<E>
Direct Known Subclasses:
DefaultPollingEndpoint, FileEndpoint

public abstract class ScheduledPollEndpoint<E extends Exchange>
extends DefaultEndpoint<E>

A base class for Endpoint which creates a ScheduledPollConsumer

Version:
$Revision: 688951 $

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<E> consumer)
           
 void configureProperties(Map options)
           
 Map getConsumerProperties()
           
 void setConsumerProperties(Map consumerProperties)
           
 
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
 
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, 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<E> consumer)
                          throws Exception
Throws:
Exception

configureProperties

public void configureProperties(Map options)
Specified by:
configureProperties in interface Endpoint<E extends Exchange>
Overrides:
configureProperties in class DefaultEndpoint<E extends Exchange>


Apache CAMEL