...
Maven users will need to add the following dependency to their pom.xml
for this component:
...
URI format
...
Where atomUri is the URI to the Atom feed to poll.
...
Property | Default | Description |
---|---|---|
|
| If |
|
| Is only used by the split entries to filter the entries to return. Camel will default use the |
|
| Is only used by the filter, as the starting timestamp for selection never entries (uses the |
|
| Camel 2.5: Sets whether all entries identified in a single feed poll should be delivered immediately. If |
|
| Sets whether to add the Abdera Feed object as a header. |
|
| If |
|
...
| Delay in millis between each poll. | |
|
| Millis before polling starts. |
|
| If |
username | Camel 2.16: For basic authentication when polling from a HTTP feed | |
password | Camel 2.16: For basic authentication when polling from a HTTP feed |
...
Camel will set the In body on the returned Exchange
with the entries. Depending on the splitEntries
flag Camel will either return one Entry
or a List<Entry>
.
...
...
Option | Value | Behavior |
---|---|---|
|
| Only a single entry from the currently being processed feed is set: |
|
| The entire list of entries from the feed is set: |
Camel can set the Feed
object on the In header (see feedHeader
option to disable this):
...
Header | Description |
---|---|
| When consuming the |
...
In this sample we poll James Strachan's blog.
...
...
In this sample we want to filter only good blogs we like to a SEDA queue. The sample also shows how to setup Camel standalone, not running in any Container or using Spring. Wiki Markup Include Page