camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Confluence)" <conflue...@apache.org>
Subject [CONF] Apache Camel > Content Enricher
Date Tue, 12 Nov 2013 16:39:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CAMEL/Content+Enricher">Content
Enricher</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~davsclaus">Claus
Ibsen</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{{pollEnrich}} on the other hand uses
a [Polling Consumer] to obtain the additional data. It is usually used for [Event Message]
messaging, for instance to read a file or download a [FTP|FTP2] file. <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{warning:title=Data
from current Exchange not used} <br>{{pollEnrich}} or {{enrich}} does *not* access any
data from the current [Exchange] which means when polling it cannot use any of the existing
headers you may have set on the [Exchange]. For example you cannot set a filename in the {{Exchange.FILE_NAME}}
header and use {{pollEnrich}} to consume only that file. For that you *must* set the filename
in the endpoint URI. <br> <br>Instead of using {{enrich}} you can use [Recipient
List] and have dynamic endpoints and define an {{AggregationStrategy}} on the [Recipient List]
which then would work as a {{enrich}} would do. <br>{warning} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h3. Enrich Options <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h3><a name="ContentEnricher-ContentEnricher"></a>Content Enricher</h3>

<p>Camel supports the <a href="http://www.enterpriseintegrationpatterns.com/DataEnricher.html"
class="external-link" rel="nofollow">Content Enricher</a> from the <a href="/confluence/display/CAMEL/Enterprise+Integration+Patterns"
title="Enterprise Integration Patterns">EIP patterns</a> using a <a href="/confluence/display/CAMEL/Message+Translator"
title="Message Translator">Message Translator</a>, an arbitrary <a href="/confluence/display/CAMEL/Processor"
title="Processor">Processor</a> in the routing logic, or using the <a href="#ContentEnricher-enrichdsl">enrich</a>
DSL element to enrich the message.</p>

<p><span class="image-wrap" style=""><img src="http://www.enterpriseintegrationpatterns.com/img/DataEnricher.gif"
style="border: 0px solid black" /></span></p>

<h4><a name="ContentEnricher-ContentenrichmentusingaMessageTranslatororaProcessor"></a>Content
enrichment using a Message Translator or a Processor</h4>

<p><b>Using the</b> <b><a href="/confluence/display/CAMEL/Fluent+Builders"
title="Fluent Builders">Fluent Builders</a></b></p>

<p>You can use <a href="/confluence/display/CAMEL/Templating" title="Templating">Templating</a>
to consume a message from one destination, transform it with something like <a href="/confluence/display/CAMEL/Velocity"
title="Velocity">Velocity</a> or <a href="/confluence/display/CAMEL/XQuery" title="XQuery">XQuery</a>,
and then send it on to another destination. For example using InOnly (one way messaging)</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
from("activemq:My.Queue").
  to("velocity:com/acme/MyResponse.vm").
  to("activemq:Another.Queue");
</pre>
</div></div>
<p>If you want to use InOut (request-reply) semantics to process requests on the <b>My.Queue</b>
queue on <a href="/confluence/display/CAMEL/ActiveMQ" title="ActiveMQ">ActiveMQ</a>
with a template generated response, then sending responses back to the JMSReplyTo Destination
you could use this:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
from("activemq:My.Queue").
  to("velocity:com/acme/MyResponse.vm");
</pre>
</div></div>
<p>Here is a simple example using the <a href="/confluence/display/CAMEL/DSL" title="DSL">DSL</a>
directly to transform the message body</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="theme: Default; brush: java; gutter: false"><![CDATA[
from("direct:start").setBody(body().append(" World!")).to("mock:result");
]]></script>
</div></div>
<p>In this example we add our own <a href="/confluence/display/CAMEL/Processor" title="Processor">Processor</a>
using explicit Java code</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="theme: Default; brush: java; gutter: false"><![CDATA[
from("direct:start").process(new Processor() {
    public void process(Exchange exchange) {
        Message in = exchange.getIn();
        in.setBody(in.getBody(String.class) + " World!");
    }
}).to("mock:result");
]]></script>
</div></div>
<p>Finally we can use <a href="/confluence/display/CAMEL/Bean+Integration" title="Bean
Integration">Bean Integration</a> to use any Java method on any bean to act as the
transformer</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
from("activemq:My.Queue").
  beanRef("myBeanName", "myMethodName").
  to("activemq:Another.Queue");
</pre>
</div></div>
<p>For further examples of this pattern in use you could look at one of the JUnit tests</p>
<ul>
	<li><a href="http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/TransformTest.java?view=markup"
class="external-link" rel="nofollow">TransformTest</a></li>
	<li><a href="http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/TransformViaDSLTest.java?view=markup"
class="external-link" rel="nofollow">TransformViaDSLTest</a></li>
</ul>


<p><b>Using Spring XML</b></p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
&lt;route&gt;
  &lt;from uri="activemq:Input"/&gt;
  &lt;bean ref="myBeanName" method="doTransform"/&gt;
  &lt;to uri="activemq:Output"/&gt;
&lt;/route&gt;
</pre>
</div></div>

<p><a name="ContentEnricher-enrichdsl"></a></p>
<h3><a name="ContentEnricher-Contentenrichmentusingthe%7B%7Benrich%7D%7DDSLelement"></a>Content
enrichment using the <tt>enrich</tt> DSL element</h3>

<p>Camel comes with two flavors of content enricher in the DSL</p>
<ul class="alternate" type="square">
	<li><tt>enrich</tt></li>
	<li><tt>pollEnrich</tt></li>
</ul>


<p><tt>enrich</tt> uses a <tt>Producer</tt> to obtain the additional
data. It is usually used for <a href="/confluence/display/CAMEL/Request+Reply" title="Request
Reply">Request Reply</a> messaging, for instance to invoke an external web service.<br/>
<tt>pollEnrich</tt> on the other hand uses a <a href="/confluence/display/CAMEL/Polling+Consumer"
title="Polling Consumer">Polling Consumer</a> to obtain the additional data. It is
usually used for <a href="/confluence/display/CAMEL/Event+Message" title="Event Message">Event
Message</a> messaging, for instance to read a file or download a <a href="/confluence/display/CAMEL/FTP2"
title="FTP2">FTP</a> file.</p>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/forbidden.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><b>Data from
current Exchange not used</b><br /><tt>pollEnrich</tt> or <tt>enrich</tt>
does <b>not</b> access any data from the current <a href="/confluence/display/CAMEL/Exchange"
title="Exchange">Exchange</a> which means when polling it cannot use any of the existing
headers you may have set on the <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a>.
For example you cannot set a filename in the <tt>Exchange.FILE_NAME</tt> header
and use <tt>pollEnrich</tt> to consume only that file. For that you <b>must</b>
set the filename in the endpoint URI.

<p>Instead of using <tt>enrich</tt> you can use <a href="/confluence/display/CAMEL/Recipient+List"
title="Recipient List">Recipient List</a> and have dynamic endpoints and define an
<tt>AggregationStrategy</tt> on the <a href="/confluence/display/CAMEL/Recipient+List"
title="Recipient List">Recipient List</a> which then would work as a <tt>enrich</tt>
would do.</p></td></tr></table></div>

<h3><a name="ContentEnricher-EnrichOptions"></a>Enrich Options</h3>

<div class="confluenceTableSmall"><div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Name </th>
<th class='confluenceTh'> Default Value </th>
<th class='confluenceTh'> Description </th>
</tr>
<tr>
<td class='confluenceTd'> <tt>uri</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> The endpoint uri for the external service to enrich from.
You must use either <tt>uri</tt> or <tt>ref</tt>. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>ref</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> Refers to the endpoint for the external service to enrich
from. You must use either <tt>uri</tt> or <tt>ref</tt>. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>strategyRef</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> Refers to an <a href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html"
class="external-link" rel="nofollow">AggregationStrategy</a> to be used to merge
the reply from the external service, into a single outgoing message. By default Camel will
use the reply from the external service as outgoing message. From <b>Camel 2.12</b>
onwards you can also use a POJO as the <tt>AggregationStrategy</tt>, see the <a
href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregate</a> page
for more details. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>strategyMethodName</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> <b>Camel 2.12:</b> This option can be used to
explicit declare the method name to use, when using POJOs as the <tt>AggregationStrategy</tt>.
See the <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregate</a>
page for more details. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>strategyMethodAllowNull</tt> </td>
<td class='confluenceTd'> <tt>false</tt> </td>
<td class='confluenceTd'> <b>Camel 2.12:</b> If this option is <tt>false</tt>
then the aggregate method is not used if there was no data to enrich. If this option is <tt>true</tt>
then <tt>null</tt> values is used as the <tt>oldExchange</tt> (when
no data to enrich), when using POJOs as the <tt>AggregationStrategy</tt>. See
the <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregate</a>
page for more details. </td>
</tr>
</tbody></table>
</div>
</div>


<p><b>Using the</b> <b><a href="/confluence/display/CAMEL/Fluent+Builders"
title="Fluent Builders">Fluent Builders</a></b></p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
AggregationStrategy aggregationStrategy = ...

from("direct:start")
.enrich("direct:resource", aggregationStrategy)
.to("direct:result");

from("direct:resource")
...
</pre>
</div></div>

<p>The content enricher (<tt>enrich</tt>) retrieves additional data from
a <em>resource endpoint</em> in order to enrich an incoming message (contained
in the <em>original exchange</em>). An aggregation strategy is used to combine
the original exchange and the <em>resource exchange</em>. The first parameter
of the <tt>AggregationStrategy.aggregate(Exchange, Exchange)</tt> method corresponds
to the the original exchange, the second parameter the resource exchange. The results from
the resource endpoint are stored in the resource exchange's out-message. Here's an example
template for implementing an aggregation strategy:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
public class ExampleAggregationStrategy implements AggregationStrategy {

    public Exchange aggregate(Exchange original, Exchange resource) {
        Object originalBody = original.getIn().getBody();
        Object resourceResponse = resource.getIn().getBody();
        Object mergeResult = ... // combine original body and resource response
        if (original.getPattern().isOutCapable()) {
            original.getOut().setBody(mergeResult);
        } else {
            original.getIn().setBody(mergeResult);
        }
        return original;
    }
    
}
</pre>
</div></div>

<p>Using this template the original exchange can be of any pattern. The resource exchange
created by the enricher is always an in-out exchange.</p>

<p><b>Using Spring XML</b></p>

<p>The same example in the Spring DSL</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: xml; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
&lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;
  &lt;route&gt;
    &lt;from uri="direct:start"/&gt;
    &lt;enrich uri="direct:resource" strategyRef="aggregationStrategy"/&gt;
    &lt;to uri="direct:result"/&gt;
  &lt;/route&gt;
  &lt;route&gt;
    &lt;from uri="direct:resource"/&gt;
    ...
  &lt;/route&gt;
&lt;/camelContext&gt;

&lt;bean id="aggregationStrategy" class="..." /&gt;
</pre>
</div></div>

<h4><a name="ContentEnricher-Aggregationstrategyisoptional"></a>Aggregation
strategy is optional</h4>
<p>The aggregation strategy is optional. If you do not provide it Camel will by default
just use the body obtained from the resource.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
from("direct:start")
  .enrich("direct:resource")
  .to("direct:result");
</pre>
</div></div>
<p>In the route above the message sent to the <tt>direct:result</tt> endpoint
will contain the output from the <tt>direct:resource</tt> as we do not use any
custom aggregation.</p>

<p>And for Spring DSL just omit the <tt>strategyRef</tt> attribute:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: xml; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
  &lt;route&gt;
    &lt;from uri="direct:start"/&gt;
    &lt;enrich uri="direct:resource"/&gt;
    &lt;to uri="direct:result"/&gt;
  &lt;/route&gt;
</pre>
</div></div>

<h3><a name="ContentEnricher-Contentenrichmentusing%7B%7BpollEnrich%7D%7D"></a>Content
enrichment using <tt>pollEnrich</tt></h3>
<p>The <tt>pollEnrich</tt> works just as the <tt>enrich</tt>
however as it uses a <a href="/confluence/display/CAMEL/Polling+Consumer" title="Polling
Consumer">Polling Consumer</a> we have 3 methods when polling</p>
<ul class="alternate" type="square">
	<li>receive</li>
	<li>receiveNoWait</li>
	<li>receive(timeout)</li>
</ul>


<h3><a name="ContentEnricher-PollEnrichOptions"></a>PollEnrich Options</h3>

<div class="confluenceTableSmall"><div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Name </th>
<th class='confluenceTh'> Default Value </th>
<th class='confluenceTh'> Description </th>
</tr>
<tr>
<td class='confluenceTd'> <tt>uri</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> The endpoint uri for the external service to enrich from.
You must use either <tt>uri</tt> or <tt>ref</tt>. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>ref</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> Refers to the endpoint for the external service to enrich
from. You must use either <tt>uri</tt> or <tt>ref</tt>. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>strategyRef</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> Refers to an <a href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html"
class="external-link" rel="nofollow">AggregationStrategy</a> to be used to merge
the reply from the external service, into a single outgoing message. By default Camel will
use the reply from the external service as outgoing message. From <b>Camel 2.12</b>
onwards you can also use a POJO as the <tt>AggregationStrategy</tt>, see the <a
href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregate</a> page
for more details. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>strategyMethodName</tt> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> <b>Camel 2.12:</b> This option can be used to
explicit declare the method name to use, when using POJOs as the <tt>AggregationStrategy</tt>.
See the <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregate</a>
page for more details. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>strategyMethodAllowNull</tt> </td>
<td class='confluenceTd'> <tt>false</tt> </td>
<td class='confluenceTd'> <b>Camel 2.12:</b> If this option is <tt>false</tt>
then the aggregate method is not used if there was no data to enrich. If this option is <tt>true</tt>
then <tt>null</tt> values is used as the <tt>oldExchange</tt> (when
no data to enrich), when using POJOs as the <tt>AggregationStrategy</tt>. See
the <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregate</a>
page for more details. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>timeout</tt> </td>
<td class='confluenceTd'> <tt>-1</tt> </td>
<td class='confluenceTd'> Timeout in millis when polling from the external service.
See below for important details about the timeout. </td>
</tr>
</tbody></table>
</div>
</div>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><b>Good practice
to use timeout value</b><br />By default Camel will use the <tt>receive</tt>.
Which may block until there is a message available. It is therefore recommended to always
provide a timeout value, to make this clear that we may wait for a message, until the timeout
is hit.</td></tr></table></div>

<p>If there is no data then the <tt>newExchange</tt> in the aggregation
strategy is <tt>null</tt>. </p>

<p>You can pass in a timeout value that determines which method to use</p>
<ul class="alternate" type="square">
	<li>if timeout is -1 or other negative number then <tt>receive</tt> is
selected (<b>Important:</b> the <tt>receive</tt> method may block
if there is no message)</li>
	<li>if timeout is 0 then <tt>receiveNoWait</tt> is selected</li>
	<li>otherwise <tt>receive(timeout)</tt> is selected</li>
</ul>


<p>The timeout values is in millis.</p>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/forbidden.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><b>Data from
current Exchange not used</b><br /><tt>pollEnrich</tt> does <b>not</b>
access any data from the current <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a>
which means when polling it cannot use any of the existing headers you may have set on the
<a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a>. For
example you cannot set a filename in the <tt>Exchange.FILE_NAME</tt> header and
use <tt>pollEnrich</tt> to consume only that file. For that you <b>must</b>
set the filename in the endpoint URI.</td></tr></table></div>

<h4><a name="ContentEnricher-Example"></a>Example</h4>

<p>In this example we enrich the message by loading the content from the file named
inbox/data.txt. </p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
from("direct:start")
  .pollEnrich("file:inbox?fileName=data.txt")
  .to("direct:result");
</pre>
</div></div>

<p>And in XML DSL you do:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: xml; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
  &lt;route&gt;
    &lt;from uri="direct:start"/&gt;
    &lt;pollEnrich uri="file:inbox?fileName=data.txt"/&gt;
    &lt;to uri="direct:result"/&gt;
  &lt;/route&gt;
</pre>
</div></div>

<p>If there is no file then the message is empty. We can use a timeout to either wait
(potentially forever) until a file exists, or use a timeout to wait a certain period.</p>

<p>For example to wait up to 5 seconds you can do:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: xml; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
  &lt;route&gt;
    &lt;from uri="direct:start"/&gt;
    &lt;pollEnrich uri="file:inbox?fileName=data.txt" timeout="5000"/&gt;
    &lt;to uri="direct:result"/&gt;
  &lt;/route&gt;
</pre>
</div></div>


<h4><a name="ContentEnricher-UsingThisPattern"></a>Using This Pattern</h4>

<p>If you would like to use this EIP Pattern then please read the <a href="/confluence/display/CAMEL/Getting+Started"
title="Getting Started">Getting Started</a>, you may also find the <a href="/confluence/display/CAMEL/Architecture"
title="Architecture">Architecture</a> useful particularly the description of <a
href="/confluence/display/CAMEL/Endpoint" title="Endpoint">Endpoint</a> and <a
href="/confluence/display/CAMEL/URIs" title="URIs">URIs</a>. Then you could try out
some of the <a href="/confluence/display/CAMEL/Examples" title="Examples">Examples</a>
first before trying this pattern out.</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://cwiki.apache.org/confluence/users/removespacenotification.action?spaceKey=CAMEL">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://cwiki.apache.org/confluence/users/editmyemailsettings.action">Change
email notification preferences</a>
</div>
        <a href="https://cwiki.apache.org/confluence/display/CAMEL/Content+Enricher">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=52525&revisedVersion=22&originalVersion=21">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message