org.apache.camel.component.rss
Class RssEndpoint

java.lang.Object
  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.rss.RssEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton

public class RssEndpoint
extends FeedEndpoint

An RSS Endpoint.


Field Summary
protected static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.apache.camel.component.feed.FeedEndpoint
feedUri, filter, lastUpdate, splitEntries
 
Constructor Summary
RssEndpoint()
           
RssEndpoint(String endpointUri)
           
RssEndpoint(String endpointUri, FeedComponent component, String feedUri)
           
RssEndpoint(String endpointUri, String feedUri)
           
 
Method Summary
protected  FeedPollingConsumer createEntryPollingConsumer(FeedEndpoint feedEndpoint, Processor processor, boolean filter, Date lastUpdate)
           
 Exchange createExchange(Object feed)
          Creates an Exchange with the entries as the in body.
 Exchange createExchange(Object feed, Object entry)
          Creates an Exchange with the given entry as the in body.
protected  FeedPollingConsumer createPollingConsumer(FeedEndpoint feedEndpoint, 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, setFeedHeader, setFeedUri, setFilter, setLastUpdate, setSortEntries, setSplitEntries
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
createExchange, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

protected static final transient org.apache.commons.logging.Log LOG
Constructor Detail

RssEndpoint

public RssEndpoint()

RssEndpoint

public RssEndpoint(String endpointUri,
                   FeedComponent component,
                   String feedUri)

RssEndpoint

public RssEndpoint(String endpointUri,
                   String feedUri)

RssEndpoint

public RssEndpoint(String endpointUri)
Method Detail

createExchange

public 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 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,
                                                         Processor processor,
                                                         boolean filter,
                                                         Date lastUpdate)
Specified by:
createEntryPollingConsumer in class FeedEndpoint

createPollingConsumer

protected FeedPollingConsumer createPollingConsumer(FeedEndpoint feedEndpoint,
                                                    Processor processor)
Specified by:
createPollingConsumer in class FeedEndpoint


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.