org.apache.camel.component.rss
Class RssEntryPollingConsumer
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.rss.RssEntryPollingConsumer
- All Implemented Interfaces:
- Runnable, org.apache.camel.Consumer, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.SuspendableService
public class RssEntryPollingConsumer
- extends org.apache.camel.component.feed.FeedEntryPollingConsumer
Consumer to poll RSS feeds and return each entry from the feed step by step.
| Fields inherited from class org.apache.camel.component.feed.FeedEntryPollingConsumer |
entryFilter, entryIndex, feed, list, throttleEntries |
| Fields inherited from class org.apache.camel.component.feed.FeedPollingConsumer |
DEFAULT_CONSUMER_DELAY, endpoint |
| Fields inherited from class org.apache.camel.impl.DefaultConsumer |
log |
| Methods inherited from class org.apache.camel.component.feed.FeedEntryPollingConsumer |
poll |
| 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.DefaultConsumer |
getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString |
| 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 |
| Methods inherited from interface org.apache.camel.SuspendableService |
isSuspended, resume, suspend |
| Methods inherited from interface org.apache.camel.Service |
start, stop |
RssEntryPollingConsumer
public RssEntryPollingConsumer(RssEndpoint endpoint,
org.apache.camel.Processor processor,
boolean filter,
Date lastUpdate,
boolean throttleEntries)
populateList
protected void populateList(Object feed)
throws Exception
- Specified by:
populateList in class org.apache.camel.component.feed.FeedEntryPollingConsumer
- Throws:
Exception
sortEntries
protected void sortEntries()
createFeed
protected Object createFeed()
throws Exception
- Specified by:
createFeed in class org.apache.camel.component.feed.FeedPollingConsumer
- Throws:
Exception
resetList
protected void resetList()
- Specified by:
resetList in class org.apache.camel.component.feed.FeedEntryPollingConsumer
createEntryFilter
protected org.apache.camel.component.feed.EntryFilter createEntryFilter(Date lastUpdate)
- Specified by:
createEntryFilter in class org.apache.camel.component.feed.FeedEntryPollingConsumer
Apache CAMEL