org.apache.camel.component.atom
Class AtomEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.impl.ScheduledPollEndpoint
              extended by org.apache.camel.impl.DefaultPollingEndpoint
                  extended by org.apache.camel.component.feed.FeedEndpoint
                      extended by org.apache.camel.component.atom.AtomEndpoint
All Implemented Interfaces:
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

public class AtomEndpoint
extends FeedEndpoint

An Atom Endpoint.

Version:

Field Summary
 
Fields inherited from class org.apache.camel.component.feed.FeedEndpoint
feedUri, filter, lastUpdate, splitEntries
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
AtomEndpoint()
           
AtomEndpoint(String endpointUri, FeedComponent component, String feedUri)
           
 
Method Summary
protected  FeedPollingConsumer createEntryPollingConsumer(FeedEndpoint feedEndpoint, org.apache.camel.Processor processor, boolean filter, Date lastUpdate, boolean throttleEntries)
           
 org.apache.camel.Exchange createExchange(Object feed)
          Creates an Exchange with the entries as the in body.
 org.apache.camel.Exchange createExchange(Object feed, Object entry)
          Creates an Exchange with the given entry as the in body.
protected  FeedPollingConsumer createPollingConsumer(FeedEndpoint feedEndpoint, org.apache.camel.Processor processor)
           
 
Methods inherited from class org.apache.camel.component.feed.FeedEndpoint
createConsumer, createEndpointUri, createExchangeWithFeedHeader, createProducer, getEndpointKey, getFeedUri, getLastUpdate, isFeedHeader, isFilter, isLenientProperties, isSingleton, isSortEntries, isSplitEntries, isThrottleEntries, setFeedHeader, setFeedUri, setFilter, setLastUpdate, setSortEntries, setSplitEntries, setThrottleEntries
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, createEndpointConfiguration, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointUri, getExchangePattern, getId, hashCode, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

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: FeedEndpoint
Creates an Exchange with the entries as the in body.

Specified by:
createExchange in class FeedEndpoint
Parameters:
feed - the atom feed
Returns:
the created exchange

createExchange

public org.apache.camel.Exchange createExchange(Object feed,
                                                Object entry)
Description copied from class: FeedEndpoint
Creates an Exchange with the given entry as the in body.

Specified by:
createExchange in class FeedEndpoint
Parameters:
feed - the feed
entry - 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:
createEntryPollingConsumer in class FeedEndpoint
Throws:
Exception

createPollingConsumer

protected FeedPollingConsumer createPollingConsumer(FeedEndpoint feedEndpoint,
                                                    org.apache.camel.Processor processor)
                                             throws Exception
Specified by:
createPollingConsumer in class FeedEndpoint
Throws:
Exception


Apache Camel