Author: buildbot
Date: Wed Jul 29 11:20:20 2015
New Revision: 960004
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/atom.html
websites/production/camel/content/book-component-appendix.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/rss.html
Modified: websites/production/camel/content/atom.html
==============================================================================
--- websites/production/camel/content/atom.html (original)
+++ websites/production/camel/content/atom.html Wed Jul 29 11:20:20 2015
@@ -86,67 +86,21 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Atom-AtomComponent">Atom
Component</h2>
-
-<p>The <strong>atom:</strong> component is used for polling Atom feeds.</p>
-
-<p>Camel will poll the feed every 60 seconds by default.<br clear="none">
-<strong>Note:</strong> The component currently only supports polling
(consuming) feeds.</p>
-
-<p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
-<dependency>
+<div class="wiki-content maincontent"><h2 id="Atom-AtomComponent">Atom
Component</h2><p>The <strong>atom:</strong> component is used for polling Atom
feeds.</p><p>Camel will poll the feed every 60 seconds by default.<br
clear="none"> <strong>Note:</strong> The component currently only supports
polling (consuming) feeds.</p><p>Maven users will need to add the following
dependency to their <code>pom.xml</code> for this component:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-atom</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
]]></script>
-</div></div>
-
-<h3 id="Atom-URIformat">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
-atom://atomUri[?options]
+</div></div><h3 id="Atom-URIformat">URI format</h3><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[atom://atomUri[?options]
]]></script>
-</div></div>
-
-<p>Where <strong>atomUri</strong> is the URI to the Atom feed to poll. </p>
-
-<h3 id="Atom-Options">Options</h3>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>splitEntries</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> If <code>true</code> Camel will poll the feed and for
the subsequent polls return each entry poll by poll. If the feed contains 7
entries then Camel will return the first entry on the first poll, the 2nd entry
on the next poll, until no more entries where as Camel will do a new update on
the feed. If <code>false</code> then Camel will poll a fresh feed on every
invocation. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>filter</code> </p></td><td colspa
n="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Is only used by the split
entries to filter the entries to return. Camel will default use the
<code>UpdateDateFilter</code> that only return new entries from the feed. So
the client consuming from the feed never receives the same entry more than
once. The filter will return the entries ordered by the newest last.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>lastUpdate</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Is only used by the filter, as the starting timestamp
for selection never entries (uses the <code>entry.updated</code> timestamp).
Syntax format is: <code>yyyy-MM-ddTHH:MM:ss</code>. Example:
<code>2007-12-24T17:45:59</code>. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>throttleEntries</c
ode> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<strong>Camel 2.5:</strong> Sets whether all entries identified in a single
feed poll should be delivered immediately. If <code>true</code>, only one entry
is processed per <code>consumer.delay</code>. Only applicable when
<code>splitEntries</code> is set to <code>true</code>. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>feedHeader</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Sets whether to
add the Abdera Feed object as a header. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>sortEntries</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If
<code>splitEntries</code> is <code>tr
ue</code>, this sets whether to sort those entries by updated date.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.delay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>60000</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> Delay in millis between each poll.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.initialDelay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>1000</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Millis before polling starts. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.userFixedDelay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> If <code>true</code>, use fixed delay
between pools, otherwise fixed rate is used. See <a shape="rect"
class="external-link
"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
rel="nofollow">ScheduledExecutorService</a> in JDK for details.
</p></td></tr></tbody></table></div>
-</div>
-
-<p>You can append query options to the URI in the following format,
<code>?option=value&option=value&...</code></p>
-
-<h3 id="Atom-Exchangedataformat">Exchange data format</h3>
-
-<p>Camel will set the In body on the returned <code>Exchange</code> with the
entries. Depending on the <code>splitEntries</code> flag Camel will either
return one <code>Entry</code> or a <code>List<Entry></code>.</p>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p> Behavior </p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>splitEntries</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Only a single entry from the
currently being processed feed is set: <code>exchange.in.body(Entry)</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>splitEntries</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> The entire list of entries from the feed
is set: <code>exchange.in.body(List<Entry>)</code>
</p></td></tr></tbody></table></div>
-</div>
-
-<p>Camel can set the <code>Feed</code> object on the In header (see
<code>feedHeader</code> option to disable this):</p>
-
-<h3 id="Atom-MessageHeaders">Message Headers</h3>
-<p>Camel atom uses these headers.</p>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>CamelAtomFeed</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> When consuming the
<code>org.apache.abdera.model.Feed</code> object is set to this header.
</p></td></tr></tbody></table></div>
-</div>
-
-<h3 id="Atom-Samples">Samples</h3>
-<p>In this sample we poll James Strachan's blog.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
-from("atom://http://macstrac.blogspot.com/feeds/posts/default").to("seda:feeds");
+</div></div><p>Where <strong>atomUri</strong> is the URI to the Atom feed to
poll.</p><h3 id="Atom-Options">Options</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>splitEntries</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If <code>true</code> Camel will
poll the feed and for the subsequent polls return each entry poll by poll. If
the feed contains 7 entries then Camel will return the first entry on the first
poll, the 2nd entry on the next poll, until no more entries where as Camel will
do a new update on the feed. If <code>false</code> then Camel will poll a
fresh feed on every invocation.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>filter</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Is only used by the split entries to filter the entries
to return. Camel will default use the <code>UpdateDateFilter</code> that only
return new entries from the feed. So the client consuming from the feed never
receives the same entry more than once. The filter will return the entries
ordered by the newest last.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>lastUpdate</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Is only used by the filter, as the starting
timestamp for selection never entries (uses the <code>entry.updated</code>
timestamp). Syntax format is: <code>yyyy-MM-ddTHH:MM:ss</code>. Example:
<code>2007-12-24T17:45:59</code>.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>throttleEntries</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.5:</strong>
Sets whether all entries identified in a single feed poll should be delivered
immediately. If <code>true</code>, only one entry is processed per
<code>consumer.delay</code>. Only applicable when <code>splitEntries</code> is
set to <code>true</code>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>feedHeader</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Sets whether to add the Abdera Feed object
as a header.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>sortEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>f
alse</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>If
<code>splitEntries</code> is <code>true</code>, this sets whether to sort those
entries by updated date.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.delay</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>60000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Delay in millis between each
poll.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.initialDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Millis before polling
starts.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.userFixedDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If <code>true</code>, use fix
ed delay between pools, otherwise fixed rate is used. See <a shape="rect"
class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
rel="nofollow">ScheduledExecutorService</a> in JDK for
details.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>username</code></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.16:</strong> For basic authentication when
polling from a HTTP feed</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>password</code></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.16:</strong><span> For basic
authentication when polling from a HTTP
feed</span></td></tr></tbody></table></div></div><p>You can append query
options to the URI in the following format,
<code>?option=value&option=value&...</code></p>
<h3 id="Atom-Exchangedataformat">Exchange data format</h3><p>Camel will set
the In body on the returned <code>Exchange</code> with the entries. Depending
on the <code>splitEntries</code> flag Camel will either return one
<code>Entry</code> or a <code>List<Entry></code>.</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Value</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Behavior</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>splitEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Only a single entry from the currently
being processed feed is set:
<code>exchange.in.body(Entry)</code></p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>splitEntri
es</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>The entire list of entries from the feed is set:
<code>exchange.in.body(List<Entry>)</code></p></td></tr></tbody></table></div></div><p>Camel
can set the <code>Feed</code> object on the In header (see
<code>feedHeader</code> option to disable this):</p><h3
id="Atom-MessageHeaders">Message Headers</h3><p>Camel atom uses these
headers.</p><div class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>CamelAtomFeed</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>When consuming the
<code>org.apache.abdera.model.Feed</code> object is set to this
header.</p></td></tr></tbody></ta
ble></div></div><h3 id="Atom-Samples">Samples</h3><p>In this sample we poll
James Strachan's blog.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("atom://http://macstrac.blogspot.com/feeds/posts/default").to("seda:feeds");
]]></script>
-</div></div>
-
-<p>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.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><p>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.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
// This is the CamelContext that is the heart of Camel
@@ -239,11 +193,8 @@ public class BlogService {
}
]]></script>
-</div></div>
-
-<h3 id="Atom-SeeAlso">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul>
-<ul class="alternate"><li><a shape="rect"
href="rss.html">RSS</a></li></ul></div>
+</div></div><h3 id="Atom-SeeAlso">See Also</h3>
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul><ul
class="alternate"><li><a shape="rect" href="rss.html">RSS</a></li></ul></div>
</td>
<td valign="top">
<div class="navigation">
Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Wed Jul 29
11:20:20 2015
@@ -393,67 +393,21 @@ registry.bind("client", client
.to("mock:result");
]]></script>
</div></div><p>In the above code, if an exchange doesn't have an appropriate
header, it will not make it through the filter AND also not be deleted from the
SQS queue. After 5000 miliseconds, the message will become visible to other
consumers.</p><p></p><h3 id="BookComponentAppendix-SeeAlso.2">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul><ul
class="alternate"><li><a shape="rect" href="aws.html">AWS
Component</a></li></ul> <h2 id="BookComponentAppendix-AtomComponent">Atom
Component</h2>
-
-<p>The <strong>atom:</strong> component is used for polling Atom feeds.</p>
-
-<p>Camel will poll the feed every 60 seconds by default.<br clear="none">
-<strong>Note:</strong> The component currently only supports polling
(consuming) feeds.</p>
-
-<p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
-<dependency>
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul><ul
class="alternate"><li><a shape="rect" href="aws.html">AWS
Component</a></li></ul> <h2 id="BookComponentAppendix-AtomComponent">Atom
Component</h2><p>The <strong>atom:</strong> component is used for polling Atom
feeds.</p><p>Camel will poll the feed every 60 seconds by default.<br
clear="none"> <strong>Note:</strong> The component currently only supports
polling (consuming) feeds.</p><p>Maven users will need to add the following
dependency to their <code>pom.xml</code> for this component:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-atom</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-URIformat.2">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
-atom://atomUri[?options]
+</div></div><h3 id="BookComponentAppendix-URIformat.2">URI format</h3><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[atom://atomUri[?options]
]]></script>
-</div></div>
-
-<p>Where <strong>atomUri</strong> is the URI to the Atom feed to poll. </p>
-
-<h3 id="BookComponentAppendix-Options.1">Options</h3>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>splitEntries</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> If <code>true</code> Camel will poll the feed and for
the subsequent polls return each entry poll by poll. If the feed contains 7
entries then Camel will return the first entry on the first poll, the 2nd entry
on the next poll, until no more entries where as Camel will do a new update on
the feed. If <code>false</code> then Camel will poll a fresh feed on every
invocation. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>filter</code> </p></td><td colspa
n="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Is only used by the split
entries to filter the entries to return. Camel will default use the
<code>UpdateDateFilter</code> that only return new entries from the feed. So
the client consuming from the feed never receives the same entry more than
once. The filter will return the entries ordered by the newest last.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>lastUpdate</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Is only used by the filter, as the starting timestamp
for selection never entries (uses the <code>entry.updated</code> timestamp).
Syntax format is: <code>yyyy-MM-ddTHH:MM:ss</code>. Example:
<code>2007-12-24T17:45:59</code>. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>throttleEntries</c
ode> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<strong>Camel 2.5:</strong> Sets whether all entries identified in a single
feed poll should be delivered immediately. If <code>true</code>, only one entry
is processed per <code>consumer.delay</code>. Only applicable when
<code>splitEntries</code> is set to <code>true</code>. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>feedHeader</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Sets whether to
add the Abdera Feed object as a header. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>sortEntries</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If
<code>splitEntries</code> is <code>tr
ue</code>, this sets whether to sort those entries by updated date.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.delay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>60000</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> Delay in millis between each poll.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.initialDelay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>1000</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Millis before polling starts. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.userFixedDelay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> If <code>true</code>, use fixed delay
between pools, otherwise fixed rate is used. See <a shape="rect"
class="external-link
"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
rel="nofollow">ScheduledExecutorService</a> in JDK for details.
</p></td></tr></tbody></table></div>
-</div>
-
-<p>You can append query options to the URI in the following format,
<code>?option=value&option=value&...</code></p>
-
-<h3 id="BookComponentAppendix-Exchangedataformat">Exchange data format</h3>
-
-<p>Camel will set the In body on the returned <code>Exchange</code> with the
entries. Depending on the <code>splitEntries</code> flag Camel will either
return one <code>Entry</code> or a <code>List<Entry></code>.</p>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p> Behavior </p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>splitEntries</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Only a single entry from the
currently being processed feed is set: <code>exchange.in.body(Entry)</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>splitEntries</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> The entire list of entries from the feed
is set: <code>exchange.in.body(List<Entry>)</code>
</p></td></tr></tbody></table></div>
-</div>
-
-<p>Camel can set the <code>Feed</code> object on the In header (see
<code>feedHeader</code> option to disable this):</p>
-
-<h3 id="BookComponentAppendix-MessageHeaders">Message Headers</h3>
-<p>Camel atom uses these headers.</p>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>CamelAtomFeed</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> When consuming the
<code>org.apache.abdera.model.Feed</code> object is set to this header.
</p></td></tr></tbody></table></div>
-</div>
-
-<h3 id="BookComponentAppendix-Samples">Samples</h3>
-<p>In this sample we poll James Strachan's blog.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
-from("atom://http://macstrac.blogspot.com/feeds/posts/default").to("seda:feeds");
+</div></div><p>Where <strong>atomUri</strong> is the URI to the Atom feed to
poll.</p><h3 id="BookComponentAppendix-Options.1">Options</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>splitEntries</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If <code>true</code> Camel will
poll the feed and for the subsequent polls return each entry poll by poll. If
the feed contains 7 entries then Camel will return the first entry on the first
poll, the 2nd entry on the next poll, until no more entries where as Camel will
do a new update on the feed. If <code>false</code> the
n Camel will poll a fresh feed on every invocation.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>filter</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Is only used by the split
entries to filter the entries to return. Camel will default use the
<code>UpdateDateFilter</code> that only return new entries from the feed. So
the client consuming from the feed never receives the same entry more than
once. The filter will return the entries ordered by the newest
last.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>lastUpdate</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Is only used by the filter, as the starting
timestamp for selection never entries (uses the <code>entry.updated</code>
timestamp). Syntax format is: <code>yyyy-MM-ddTHH:MM:
ss</code>. Example: <code>2007-12-24T17:45:59</code>.</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>throttleEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.5:</strong> Sets whether
all entries identified in a single feed poll should be delivered immediately.
If <code>true</code>, only one entry is processed per
<code>consumer.delay</code>. Only applicable when <code>splitEntries</code> is
set to <code>true</code>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>feedHeader</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Sets whether to add the Abdera Feed object
as a header.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>sortEntries</code></p></td><td colspan="1"
rowspan="1" class="confl
uenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>If <code>splitEntries</code> is <code>true</code>, this
sets whether to sort those entries by updated date.</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.delay</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>60000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Delay in millis between each
poll.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.initialDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Millis before polling
starts.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.userFixedDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If <code>t
rue</code>, use fixed delay between pools, otherwise fixed rate is used. See
<a shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
rel="nofollow">ScheduledExecutorService</a> in JDK for
details.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>username</code></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.16:</strong> For basic authentication when
polling from a HTTP feed</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>password</code></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.16:</strong><span> For basic
authentication when polling from a HTTP
feed</span></td></tr></tbody></table></div></div><p>You can append query
options to the URI in the following format, <code>?option=value&option=value
&...</code></p><h3 id="BookComponentAppendix-Exchangedataformat">Exchange
data format</h3><p>Camel will set the In body on the returned
<code>Exchange</code> with the entries. Depending on the
<code>splitEntries</code> flag Camel will either return one <code>Entry</code>
or a <code>List<Entry></code>.</p><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Value</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Behavior</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>splitEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Only a single entry from the currently
being processed feed is set:
<code>exchange.in.body(Entry)</code></p></td></tr><tr><td colspan="1"
rowspan="1" clas
s="confluenceTd"><p><code>splitEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The entire list of entries from the feed is
set:
<code>exchange.in.body(List<Entry>)</code></p></td></tr></tbody></table></div></div><p>Camel
can set the <code>Feed</code> object on the In header (see
<code>feedHeader</code> option to disable this):</p><h3
id="BookComponentAppendix-MessageHeaders">Message Headers</h3><p>Camel atom
uses these headers.</p><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>CamelAtomFeed</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>When consuming the
<code>org.apache.abdera.model.Feed</code> ob
ject is set to this header.</p></td></tr></tbody></table></div></div><h3
id="BookComponentAppendix-Samples">Samples</h3><p>In this sample we poll James
Strachan's blog.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("atom://http://macstrac.blogspot.com/feeds/posts/default").to("seda:feeds");
]]></script>
-</div></div>
-
-<p>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.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><p>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.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
// This is the CamelContext that is the heart of Camel
@@ -546,11 +500,8 @@ public class BlogService {
}
]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-SeeAlso.3">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul>
-<ul class="alternate"><li><a shape="rect" href="rss.html">RSS</a></li></ul>
<h2 id="BookComponentAppendix-BeanComponent">Bean Component</h2>
+</div></div><h3 id="BookComponentAppendix-SeeAlso.3">See Also</h3>
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul><ul
class="alternate"><li><a shape="rect" href="rss.html">RSS</a></li></ul> <h2
id="BookComponentAppendix-BeanComponent">Bean Component</h2>
<p>The <strong>bean:</strong> component binds beans to Camel message
exchanges.</p>
@@ -1268,11 +1219,11 @@ template.send("direct:alias-verify&
]]></script>
</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.8">See Also</h3>
<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul><ul><li><a
shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a
shape="rect" href="data-format.html">Data Format</a></li></ul> <h2
id="BookComponentAppendix-CXFComponent">CXF Component</h2><div
class="confluence-information-macro confluence-information-macro-note"><span
class="aui-icon aui-icon-small aui-iconfont-warning
confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>When using CXF as a consumer, the
<a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows
you to factor out how message payloads are received from their processing as a
RESTful or SOAP web service. This has the potential of using a multitude of
transports to cons
ume web services. The bean component's configuration is also simpler and
provides the fastest method to implement web services using Camel and
CXF.</p></div></div><div class="confluence-information-macro
confluence-information-macro-tip"><span class="aui-icon aui-icon-small
aui-iconfont-approve confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>When using CXF in streaming modes
(see DataFormat option), then also read about <a shape="rect"
href="stream-caching.html">Stream caching</a>.</p></div></div><p>The
<strong>cxf:</strong> component provides integration with <a shape="rect"
href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services
hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1438154333682 {padding: 0px;}
-div.rbtoc1438154333682 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1438154333682 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1438168700016 {padding: 0px;}
+div.rbtoc1438168700016 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1438168700016 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1438154333682">
+/*]]>*/</style></p><div class="toc-macro rbtoc1438168700016">
<ul class="toc-indentation"><li><a shape="rect"
href="#BookComponentAppendix-CXFComponent">CXF Component</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#BookComponentAppendix-URIformat">URI format</a></li><li><a shape="rect"
href="#BookComponentAppendix-Options">Options</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#BookComponentAppendix-Thedescriptionsofthedataformats">The descriptions
of the dataformats</a>
@@ -9179,17 +9130,11 @@ from(endpoint).to("pojo:bar");
</div></div><p><strong>Note:</strong> The component currently only supports
polling (consuming) feeds.</p><div class="confluence-information-macro
confluence-information-macro-note"><span class="aui-icon aui-icon-small
aui-iconfont-warning confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>Camel-rss internally uses a <a
shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/rome-1.0/">patched
version</a> of <a shape="rect" class="external-link"
href="http://rometools.github.io/rome/" rel="nofollow">ROME</a> hosted on
ServiceMix to solve some OSGi <a shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/SMX4-510">class loading
issues</a>.</p></div></div><h3 id="BookComponentAppendix-URIformat.57">URI
format</h3><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[rss:rssUri
]]></script>
-</div></div><p>Where <code>rssUri</code> is the URI to the RSS feed to
poll.</p><p>You can append query options to the URI in the following format,
<code>?option=value&option=value&...</code></p><h3
id="BookComponentAppendix-Options.44">Options</h3><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>splitEntries</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> If <code>true</code>, Camel splits a feed into its
individual entries and returns each entry, poll by poll. For example, if a feed
contains seven entries, Camel returns the first entry on the first poll, the
second entry on the second poll, and so on. When no more entries are left in
the feed, Camel contacts the remote RSS URI to obtain a new feed. If
<code>false</code>, Camel obtains a fresh feed on every poll and returns all of
the feed's entries. </p></td></tr><tr><td colspan="1
" rowspan="1" class="confluenceTd"><p> <code>filter</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Use in combination with the
<code>splitEntries</code> option in order to filter returned entries. By
default, Camel applies the <code>UpdateDateFilter</code> filter, which returns
only new entries from the feed, ensuring that the consumer endpoint never
receives an entry more than once. The filter orders the entries
chronologically, with the newest returned last. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>throttleEntries</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.5:</strong> Sets whether all entries identified in a single feed poll should
be delivered immediately. If true, only one entry is processed per
consumer.delay. Only applic
able when splitEntries is set to true. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>lastUpdate</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Use in combination with the
<code>filter</code> option to block entries earlier than a specific date/time
(uses the <code>entry.updated</code> timestamp). The format is:
<code>yyyy-MM-ddTHH:MM:ss</code>. Example: <code>2007-12-24T17:45:59</code>.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>feedHeader</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Specifies whether to add the ROME
<code>SyndFeed</code> object as a header. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>sortEntries</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <co
de>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
If <code>splitEntries</code> is <code>true</code>, this specifies whether to
sort the entries by updated date. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>consumer.delay</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>60000</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Delay in milliseconds between
each poll. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>consumer.initialDelay</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>1000</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Milliseconds before polling
starts. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.userFixedDelay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluen
ceTd"><p> Set to <code>true</code> to use fixed delay between pools, otherwise
fixed rate is used. See <a shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
rel="nofollow">ScheduledExecutorService</a> in JDK for details.
</p></td></tr></tbody></table></div>
-</div><h3 id="BookComponentAppendix-Exchangedatatypes">Exchange data
types</h3><p>Camel initializes the In body on the Exchange with a ROME
<code>SyndFeed</code>. Depending on the value of the <code>splitEntries</code>
flag, Camel returns either a <code>SyndFeed</code> with one
<code>SyndEntry</code> or a <code>java.util.List</code> of
<code>SyndEntrys</code>.</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p> Behavior </p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>splitEntries</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> A single entry from the
current feed is set in the exchange. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>splitEntries</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The entire list
of entries from the current feed is set in the exchange.
</p></td></tr></tbody></table></div>
-</div><h3 id="BookComponentAppendix-MessageHeaders.16">Message
Headers</h3><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>CamelRssFeed</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> The entire <code>SyncFeed</code> object.
</p></td></tr></tbody></table></div>
-</div><h3 id="BookComponentAppendix-RSSDataformat">RSS Dataformat</h3><p>The
RSS component ships with an RSS dataformat that can be used to convert between
String (as XML) and ROME RSS model objects.</p><ul><li>marshal = from ROME
<code>SyndFeed</code> to XML <code>String</code></li><li>unmarshal = from XML
<code>String</code> to ROME <code>SyndFeed</code></li></ul><p>A route using
this would look something like this:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Where <code>rssUri</code> is the URI to the RSS feed to
poll.</p><p>You can append query options to the URI in the following format,
<code>?option=value&option=value&...</code></p><h3
id="BookComponentAppendix-Options.44">Options</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>splitEntries</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If <code>true</code>, Camel
splits a feed into its individual entries and returns each entry, poll by poll.
For example, if a feed contains seven entries, Camel returns the first entry on
the first poll, th
e second entry on the second poll, and so on. When no more entries are left in
the feed, Camel contacts the remote RSS URI to obtain a new feed. If
<code>false</code>, Camel obtains a fresh feed on every poll and returns all of
the feed's entries.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>filter</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Use in combination with the <code>splitEntries</code>
option in order to filter returned entries. By default, Camel applies the
<code>UpdateDateFilter</code> filter, which returns only new entries from the
feed, ensuring that the consumer endpoint never receives an entry more than
once. The filter orders the entries chronologically, with the newest returned
last.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>throttleEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><
p><code>true</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.5:</strong> Sets whether all entries
identified in a single feed poll should be delivered immediately. If true, only
one entry is processed per consumer.delay. Only applicable when splitEntries is
set to true.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>lastUpdate</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Use in combination with the
<code>filter</code> option to block entries earlier than a specific date/time
(uses the <code>entry.updated</code> timestamp). The format is:
<code>yyyy-MM-ddTHH:MM:ss</code>. Example:
<code>2007-12-24T17:45:59</code>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>feedHeader</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class=
"confluenceTd"><p>Specifies whether to add the ROME <code>SyndFeed</code>
object as a header.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>sortEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If <code>splitEntries</code> is
<code>true</code>, this specifies whether to sort the entries by updated
date.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.delay</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>60000</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Delay in milliseconds between each
poll.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.initialDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Milliseconds before polling
starts.</p><
/td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.userFixedDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set to <code>true</code> to use
fixed delay between pools, otherwise fixed rate is used. See <a shape="rect"
class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
rel="nofollow">ScheduledExecutorService</a> in JDK for
details.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>username</code></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.16:</strong><span> For basic
authentication when polling from a HTTP feed</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>password</code></td><td
colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" r
owspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span> For basic
authentication when polling from a HTTP
feed</span></td></tr></tbody></table></div></div><h3
id="BookComponentAppendix-Exchangedatatypes">Exchange data types</h3><p>Camel
initializes the In body on the Exchange with a ROME <code>SyndFeed</code>.
Depending on the value of the <code>splitEntries</code> flag, Camel returns
either a <code>SyndFeed</code> with one <code>SyndEntry</code> or a
<code>java.util.List</code> of <code>SyndEntrys</code>.</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Value</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Behavior</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>splitEntries</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p><
/td><td colspan="1" rowspan="1" class="confluenceTd"><p>A single entry from
the current feed is set in the exchange.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>splitEntries</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The entire list of entries from
the current feed is set in the
exchange.</p></td></tr></tbody></table></div></div><h3
id="BookComponentAppendix-MessageHeaders.16">Message Headers</h3><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>CamelRssFeed</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The entire
<code>SyncFeed</code> object.</p></td></tr></tbody></table></div><
/div><h3 id="BookComponentAppendix-RSSDataformat">RSS Dataformat</h3><p>The
RSS component ships with an RSS dataformat that can be used to convert between
String (as XML) and ROME RSS model objects.</p><ul><li>marshal = from ROME
<code>SyndFeed</code> to XML <code>String</code></li><li>unmarshal = from XML
<code>String</code> to ROME <code>SyndFeed</code></li></ul><p>A route using
this would look something like this:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
from("rss:file:src/test/data/rss20.xml?splitEntries=false&consumer.delay=1000").marshal().rss().to("mock:marshal");
]]></script>
-</div></div><p>The purpose of this feature is to make it possible to use
Camel's lovely built-in expressions for manipulating RSS messages. As shown
below, an XPath expression can be used to filter the RSS message:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div>The purpose of this feature is to make it possible to use Camel's
lovely built-in expressions for manipulating RSS messages. As shown below, an
XPath expression can be used to filter the RSS message:<div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
// only entries with Camel in the title will get through the filter
from("rss:file:src/test/data/rss20.xml?splitEntries=true&consumer.delay=100")
@@ -9201,7 +9146,7 @@ from("rss:file:src/test/data/rss20.
from("rss:file:src/test/data/rss20.xml?splitEntries=true&consumer.delay=100").
filter().method("myFilterBean",
"titleContainsCamel").to("mock:result");
]]></script>
-</div></div><p>The custom bean for this would be:</p><div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div>The custom bean for this would be:<div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
public static class FilterBean {
public boolean titleContainsCamel(@Body SyndFeed feed) {
@@ -9210,7 +9155,7 @@ public static class FilterBean {
}
}
]]></script>
-</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.54">See Also</h3>
+</div></div><h3 id="BookComponentAppendix-SeeAlso.54">See Also</h3>
<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul><ul
class="alternate"><li><a shape="rect" href="atom.html">Atom</a></li></ul> <div
class="error"><span class="error">Unable to render {include}</span> The
included page could not be found.</div> <h2
id="BookComponentAppendix-SEDAComponent">SEDA Component</h2><p>The
<strong>seda:</strong> component provides asynchronous <a shape="rect"
class="external-link" href="http://www.eecs.harvard.edu/~mdw/proj/seda/"
rel="nofollow">SEDA</a> behavior, so that messages are exchanged on a <a
shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/BlockingQueue.html"
rel="nofollow">BlockingQueue</a> and consumers are invoked in a separate
thread from the producer.</p><p>Note that qu
eues are only visible within a <em>single</em> <a shape="rect"
href="camelcontext.html">CamelContext</a>. If you want to communicate across
<code>CamelContext</code> instances (for example, communicating between Web
applications), see the <a shape="rect" href="vm.html">VM</a>
component.</p><p>This component does not implement any kind of persistence or
recovery, if the VM terminates while messages are yet to be processed. If you
need persistence, reliability or distributed SEDA, try using either <a
shape="rect" href="jms.html">JMS</a> or <a shape="rect"
href="activemq.html">ActiveMQ</a>.</p><div class="confluence-information-macro
confluence-information-macro-tip"><p class="title">Synchronous</p><span
class="aui-icon aui-icon-small aui-iconfont-approve
confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>The <a shape="rect"
href="direct.html">Direct</a> component provides synchronous invocation of any
consumers when a producer sends a message e
xchange.</p></div></div><h3 id="BookComponentAppendix-URIformat.58">URI
format</h3><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[seda:someName[?options]
]]></script>