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

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

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

A base class for Endpoint which creates a PollingConsumer

Version:
$Revision: 1.1 $

Constructor Summary
protected PollingEndpoint(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, createExchange, createExecutorService, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, 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, createExchange, createProducer, isSingleton
 

Constructor Detail

PollingEndpoint

protected PollingEndpoint(String endpointUri,
                          Component component)
Method Detail

getConsumerProperties

public Map getConsumerProperties()

setConsumerProperties

public void setConsumerProperties(Map consumerProperties)

configureConsumer

protected void configureConsumer(Consumer<E> consumer)

configureProperties

public void configureProperties(Map options)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.