|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint<E>
org.apache.camel.impl.ScheduledPollEndpoint<E>
org.apache.camel.impl.DefaultPollingEndpoint<Exchange>
org.apache.camel.component.atom.AtomEndpoint
public class AtomEndpoint
An Atom Endpoint.
| Field Summary | |
|---|---|
static String |
HEADER_ATOM_FEED
Header key for the Feed object is stored on the in message on the exchange. |
| Constructor Summary | |
|---|---|
AtomEndpoint(String endpointUri)
|
|
AtomEndpoint(String endpointUri,
AtomComponent component,
String atomUri)
|
|
AtomEndpoint(String endpointUri,
String atomUri)
|
|
| Method Summary | |
|---|---|
Consumer<Exchange> |
createConsumer(Processor processor)
|
Exchange |
createExchange(org.apache.abdera.model.Feed feed)
Creates an Exchange with the entries as the in body. |
Exchange |
createExchange(org.apache.abdera.model.Feed feed,
org.apache.abdera.model.Entry entry)
Creates an Exchange with the given entry as the in body. |
Producer<Exchange> |
createProducer()
|
String |
getAtomUri()
|
Date |
getLastUpdate()
|
boolean |
isFilter()
|
boolean |
isSingleton()
|
boolean |
isSplitEntries()
|
void |
setAtomUri(String atomUri)
|
void |
setFilter(boolean filter)
Sets wether to use filtering or not of the entries. |
void |
setLastUpdate(Date lastUpdate)
Sets the timestamp to be used for filtering entries from the atom feeds. |
void |
setSplitEntries(boolean splitEntries)
Sets whether or not entries should be sent individually or whether the entire feed should be sent as a single message |
| Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint |
|---|
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties |
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String HEADER_ATOM_FEED
Feed object is stored on the in message on the exchange.
| Constructor Detail |
|---|
public AtomEndpoint(String endpointUri,
AtomComponent component,
String atomUri)
public AtomEndpoint(String endpointUri,
String atomUri)
public AtomEndpoint(String endpointUri)
| Method Detail |
|---|
public boolean isSingleton()
public Producer<Exchange> createProducer()
throws Exception
Exception
public Consumer<Exchange> createConsumer(Processor processor)
throws Exception
createConsumer in interface Endpoint<Exchange>createConsumer in class DefaultPollingEndpoint<Exchange>Exceptionpublic Exchange createExchange(org.apache.abdera.model.Feed feed)
feed - the atom feed
public Exchange createExchange(org.apache.abdera.model.Feed feed,
org.apache.abdera.model.Entry entry)
feed - the atom feedentry - the entry as the in body
public String getAtomUri()
public void setAtomUri(String atomUri)
public boolean isSplitEntries()
public void setSplitEntries(boolean splitEntries)
public Date getLastUpdate()
public void setLastUpdate(Date lastUpdate)
public boolean isFilter()
public void setFilter(boolean filter)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||