Package org.apache.camel.component.rss
Class RssEndpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.support.ScheduledPollEndpoint
org.apache.camel.support.DefaultPollingEndpoint
org.apache.camel.component.feed.FeedEndpoint
org.apache.camel.component.rss.RssEndpoint
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.ComponentAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.EndpointServiceLocation,org.apache.camel.spi.HasCamelContext,org.apache.camel.spi.HasId,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="2.0.0",
scheme="rss",
extendsScheme="atom",
title="RSS",
syntax="rss:feedUri",
consumerOnly=true,
category=DOCUMENT,
lenientProperties=true,
headersClass=RssConstants.class)
public class RssEndpoint
extends org.apache.camel.component.feed.FeedEndpoint
implements org.apache.camel.spi.EndpointServiceLocation
Poll RSS feeds.
-
Field Summary
FieldsFields inherited from class org.apache.camel.component.feed.FeedEndpoint
feedUri, splitEntriesFields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
ConstructorsConstructorDescriptionRssEndpoint(String endpointUri, org.apache.camel.component.feed.FeedComponent component, String feedUri) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.camel.component.feed.FeedPollingConsumercreateEntryPollingConsumer(org.apache.camel.component.feed.FeedEndpoint feedEndpoint, org.apache.camel.Processor processor, boolean throttleEntries) org.apache.camel.ExchangecreateExchange(Object feed) org.apache.camel.ExchangecreateExchange(Object feed, Object entry) protected org.apache.camel.component.feed.FeedPollingConsumercreatePollingConsumer(org.apache.camel.component.feed.FeedEndpoint feedEndpoint, org.apache.camel.Processor processor) org.apache.camel.ProducerMethods inherited from class org.apache.camel.component.feed.FeedEndpoint
createConsumer, createEndpointUri, createExchangeWithFeedHeader, getEndpointKey, getFeedUri, isFeedHeader, isLenientProperties, isSortEntries, isSplitEntries, isThrottleEntries, setFeedHeader, setFeedUri, setSortEntries, setSplitEntries, setThrottleEntriesMethods inherited from class org.apache.camel.support.ScheduledPollEndpoint
configureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayMethods inherited from class org.apache.camel.support.DefaultEndpoint
configureExchange, configurePollingConsumer, createAsyncProducer, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getInternalLock, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.ComponentAware
getComponentMethods inherited from interface org.apache.camel.Endpoint
getEndpointBaseUri, isRemote, isSingletonProducerMethods inherited from interface org.apache.camel.spi.EndpointServiceLocation
getServiceMetadataMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Constructor Details
-
RssEndpoint
public RssEndpoint() -
RssEndpoint
-
-
Method Details
-
getServiceUrl
- Specified by:
getServiceUrlin interfaceorg.apache.camel.spi.EndpointServiceLocation
-
getServiceProtocol
- Specified by:
getServiceProtocolin interfaceorg.apache.camel.spi.EndpointServiceLocation
-
createProducer
- Specified by:
createProducerin interfaceorg.apache.camel.Endpoint- Overrides:
createProducerin classorg.apache.camel.component.feed.FeedEndpoint- Throws:
Exception
-
createExchange
- Specified by:
createExchangein classorg.apache.camel.component.feed.FeedEndpoint
-
createExchange
- Specified by:
createExchangein classorg.apache.camel.component.feed.FeedEndpoint
-
createEntryPollingConsumer
protected org.apache.camel.component.feed.FeedPollingConsumer createEntryPollingConsumer(org.apache.camel.component.feed.FeedEndpoint feedEndpoint, org.apache.camel.Processor processor, boolean throttleEntries) throws Exception - Specified by:
createEntryPollingConsumerin classorg.apache.camel.component.feed.FeedEndpoint- Throws:
Exception
-
createPollingConsumer
protected org.apache.camel.component.feed.FeedPollingConsumer createPollingConsumer(org.apache.camel.component.feed.FeedEndpoint feedEndpoint, org.apache.camel.Processor processor) throws Exception - Specified by:
createPollingConsumerin classorg.apache.camel.component.feed.FeedEndpoint- Throws:
Exception
-