...
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.
Options
...
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 |
You can append query options to the URI in the following format, ?option=value&option=value&...
...
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 atom uses these headers.
...
Header | Description |
---|
...
org.apache.camel.component.atom.feed
...
Camel 1.x: When consuming the org.apache.abdera.model.Feed
object is set to this header.
...
|
...
When consuming the |
Samples
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.
...
...