org.apache.camel.component.feed
Class FeedEntryPollingConsumer
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
- All Implemented Interfaces:
- Runnable, Consumer, Service
- Direct Known Subclasses:
- AtomEntryPollingConsumer
public abstract class FeedEntryPollingConsumer
- extends FeedPollingConsumer
Consumer to poll feeds and return each entry from the feed step by step.
| Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer |
doStart, doStop, getDelay, getInitialDelay, getPollStrategy, getTimeUnit, isUseFixedDelay, run, setDelay, setInitialDelay, setPollStrategy, setTimeUnit, setUseFixedDelay |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
entryIndex
protected int entryIndex
entryFilter
protected EntryFilter entryFilter
list
protected List list
FeedEntryPollingConsumer
public FeedEntryPollingConsumer(FeedEndpoint endpoint,
Processor processor,
boolean filter,
Date lastUpdate)
poll
public void poll()
throws Exception
- Overrides:
poll in class FeedPollingConsumer
- Throws:
Exception
createEntryFilter
protected abstract EntryFilter createEntryFilter(Date lastUpdate)
resetList
protected abstract void resetList()
populateList
protected abstract void populateList(Object feed)
throws Exception
- Throws:
Exception
Apache CAMEL