org.apache.camel.component.atom
Class AtomEndpoint

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.atom.AtomEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton

public class AtomEndpoint
extends FeedEndpoint

An Atom Endpoint.

Version:
$Revision: 2776 $

Field Summary
 
Fields inherited from class org.apache.camel.component.feed.FeedEndpoint
feedUri, filter, lastUpdate, splitEntries
 
Constructor Summary
AtomEndpoint()
           
AtomEndpoint(String endpointUri)
           
AtomEndpoint(String endpointUri, FeedComponent component, String feedUri)
           
AtomEndpoint(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, equals, getCamelContext, getComponent, getEndpointUri, getExchangePattern, getExchangeType, hashCode, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString
 
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)

AtomEndpoint

public AtomEndpoint(String endpointUri,
                    String feedUri)

AtomEndpoint

public AtomEndpoint(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.