Package org.apache.camel.component.atom
Class AtomEndpoint
- 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.atom.AtomEndpoint
-
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasId,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="1.2.0", scheme="atom", title="Atom", syntax="atom:feedUri", consumerOnly=true, category=RSS, lenientProperties=true) public class AtomEndpoint extends FeedEndpointPoll Atom RSS feeds.
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.feed.FeedEndpoint
feedUri, filter, lastUpdate, splitEntries
-
-
Constructor Summary
Constructors Constructor Description AtomEndpoint()AtomEndpoint(String endpointUri, FeedComponent component, String feedUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FeedPollingConsumercreateEntryPollingConsumer(FeedEndpoint feedEndpoint, org.apache.camel.Processor processor, boolean filter, Date lastUpdate, boolean throttleEntries)org.apache.camel.ExchangecreateExchange(Object feed)Creates an Exchange with the entries as the in body.org.apache.camel.ExchangecreateExchange(Object feed, Object entry)Creates an Exchange with the given entry as the in body.protected FeedPollingConsumercreatePollingConsumer(FeedEndpoint feedEndpoint, org.apache.camel.Processor processor)-
Methods inherited from class org.apache.camel.component.feed.FeedEndpoint
createConsumer, createEndpointUri, createExchangeWithFeedHeader, createProducer, getEndpointKey, getFeedUri, getLastUpdate, getPassword, getUsername, isFeedHeader, isFilter, isLenientProperties, isSortEntries, isSplitEntries, isThrottleEntries, setFeedHeader, setFeedUri, setFilter, setLastUpdate, setPassword, setSortEntries, setSplitEntries, setThrottleEntries, setUsername
-
Methods inherited from class org.apache.camel.support.ScheduledPollEndpoint
configureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, 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, setUseFixedDelay
-
Methods 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, toString
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
AtomEndpoint
public AtomEndpoint()
-
AtomEndpoint
public AtomEndpoint(String endpointUri, FeedComponent component, String feedUri)
-
-
Method Detail
-
createExchange
public org.apache.camel.Exchange createExchange(Object feed)
Description copied from class:FeedEndpointCreates an Exchange with the entries as the in body.- Specified by:
createExchangein classFeedEndpoint- Parameters:
feed- the atom feed- Returns:
- the created exchange
-
createExchange
public org.apache.camel.Exchange createExchange(Object feed, Object entry)
Description copied from class:FeedEndpointCreates an Exchange with the given entry as the in body.- Specified by:
createExchangein classFeedEndpoint- Parameters:
feed- the feedentry- the entry as the in body- Returns:
- the created exchange
-
createEntryPollingConsumer
protected FeedPollingConsumer createEntryPollingConsumer(FeedEndpoint feedEndpoint, org.apache.camel.Processor processor, boolean filter, Date lastUpdate, boolean throttleEntries) throws Exception
- Specified by:
createEntryPollingConsumerin classFeedEndpoint- Throws:
Exception
-
createPollingConsumer
protected FeedPollingConsumer createPollingConsumer(FeedEndpoint feedEndpoint, org.apache.camel.Processor processor) throws Exception
- Specified by:
createPollingConsumerin classFeedEndpoint- Throws:
Exception
-
-