public class AtomEntryPollingConsumer extends FeedEntryPollingConsumer
entryFilter, entryIndex, feed, list, throttleEntries
DEFAULT_CONSUMER_DELAY, endpoint
Constructor and Description |
---|
AtomEntryPollingConsumer(AtomEndpoint endpoint,
org.apache.camel.Processor processor,
boolean filter,
Date lastUpdate,
boolean throttleEntries) |
Modifier and Type | Method and Description |
---|---|
protected EntryFilter |
createEntryFilter(Date lastUpdate) |
protected Object |
createFeed() |
protected void |
populateList(Object feed) |
protected void |
resetList() |
protected void |
sortEntries(org.apache.abdera.model.Feed feed) |
poll
afterPoll, beforePoll, doShutdown, doStart, doStop, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, processEmptyMessage, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startScheduler
createUoW, doneUoW, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
doResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public AtomEntryPollingConsumer(AtomEndpoint endpoint, org.apache.camel.Processor processor, boolean filter, Date lastUpdate, boolean throttleEntries)
protected void sortEntries(org.apache.abdera.model.Feed feed)
protected void populateList(Object feed) throws org.apache.abdera.parser.ParseException, IOException
populateList
in class FeedEntryPollingConsumer
org.apache.abdera.parser.ParseException
IOException
protected Object createFeed() throws IOException
createFeed
in class FeedPollingConsumer
IOException
protected void resetList()
resetList
in class FeedEntryPollingConsumer
protected EntryFilter createEntryFilter(Date lastUpdate)
createEntryFilter
in class FeedEntryPollingConsumer
Apache Camel