org.apache.camel.component.atom
Class AtomPollingConsumer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultConsumer<E>
          extended by org.apache.camel.impl.ScheduledPollConsumer<Exchange>
              extended by org.apache.camel.component.atom.AtomConsumerSupport
                  extended by org.apache.camel.component.atom.AtomPollingConsumer
All Implemented Interfaces:
Runnable, Consumer<Exchange>, Service
Direct Known Subclasses:
AtomEntryPollingConsumer

public class AtomPollingConsumer
extends AtomConsumerSupport

Consumer to poll atom feeds and return the full feed.

Version:
$Revision: 656933 $

Field Summary
 
Fields inherited from class org.apache.camel.component.atom.AtomConsumerSupport
DEFAULT_CONSUMER_DELAY, endpoint
 
Constructor Summary
AtomPollingConsumer(AtomEndpoint endpoint, Processor processor)
           
 
Method Summary
protected  void poll()
           
 
Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer
doStart, doStop, getDelay, getInitialDelay, getTimeUnit, isUseFixedDelay, run, setDelay, setInitialDelay, setTimeUnit, setUseFixedDelay
 
Methods inherited from class org.apache.camel.impl.DefaultConsumer
getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

AtomPollingConsumer

public AtomPollingConsumer(AtomEndpoint endpoint,
                           Processor processor)
Method Detail

poll

protected void poll()
             throws Exception
Specified by:
poll in class ScheduledPollConsumer<Exchange>
Throws:
Exception


Copyright © 2009 Apache Software Foundation. All Rights Reserved.