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, JpaEndpoint, MailEndpoint, SpringIntegrationEndpoint

public abstract class ScheduledPollEndpoint
extends DefaultEndpoint

A base class for Endpoint which creates a ScheduledPollConsumer

Version:
$Revision: 16342 $

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<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
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<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)


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.