org.apache.camel.component.atom
Class AtomEntryPollingConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.impl.ScheduledPollConsumer
org.apache.camel.component.feed.FeedPollingConsumer
org.apache.camel.component.feed.FeedEntryPollingConsumer
org.apache.camel.component.atom.AtomEntryPollingConsumer
- All Implemented Interfaces:
- Runnable, Consumer, Service, ShutdownableService, SuspendableService
public class AtomEntryPollingConsumer
- extends FeedEntryPollingConsumer
Consumer to poll atom feeds and return each entry from the feed step by step.
- Version:
- $Revision: 998075 $
| Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer |
doStart, doStop, doSuspend, getDelay, getInitialDelay, getPollStrategy, getTimeUnit, isPollAllowed, isUseFixedDelay, run, setDelay, setInitialDelay, setPollStrategy, setTimeUnit, setUseFixedDelay |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
AtomEntryPollingConsumer
public AtomEntryPollingConsumer(AtomEndpoint endpoint,
Processor processor,
boolean filter,
Date lastUpdate,
boolean throttleEntries)
sortEntries
protected void sortEntries(org.apache.abdera.model.Feed feed)
populateList
protected void populateList(Object feed)
throws org.apache.abdera.parser.ParseException,
IOException
- Specified by:
populateList in class FeedEntryPollingConsumer
- Throws:
org.apache.abdera.parser.ParseException
IOException
createFeed
protected Object createFeed()
throws IOException
- Specified by:
createFeed in class FeedPollingConsumer
- Throws:
IOException
resetList
protected void resetList()
- Specified by:
resetList in class FeedEntryPollingConsumer
createEntryFilter
protected EntryFilter createEntryFilter(Date lastUpdate)
- Specified by:
createEntryFilter in class FeedEntryPollingConsumer
Apache CAMEL