Author: buildbot
Date: Sat Nov 3 10:18:18 2012
New Revision: 837128
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/message-history.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/message-history.html
==============================================================================
--- websites/production/camel/content/message-history.html (original)
+++ websites/production/camel/content/message-history.html Sat Nov 3 10:18:18
2012
@@ -77,9 +77,22 @@
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h3><a shape="rect"
name="MessageHistory-MessageHistory"></a>Message History</h3>
-<p>The Message History EIP ...</p>
+<p>The <a shape="rect" class="external-link"
href="http://www.eaipatterns.com/MessageHistory.html" rel="nofollow">Message
History</a> from the <a shape="rect"
href="enterprise-integration-patterns.html" title="Enterprise Integration
Patterns">EIP patterns</a> allows to analyze and debug the flow of messages in
a loosely coupled system.</p>
-<p>TODO:</p></div>
+<p><span class="image-wrap" style=""><img
src="http://www.eaipatterns.com/img/MessageHistory.gif" style="border: 0px
solid black"></span></p>
+
+<p>Therefore, attach a Message History to the message. The Message History is
a list of all applications that the message passed through since its
origination.</p>
+
+<p>In Camel you can trace message flow using the <a shape="rect"
href="tracer.html" title="Tracer">Tracer</a>, or access information using the
Java API from <a shape="rect" class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/UnitOfWork.html">UnitOfWork</a>
using the <tt>getTracedNodes</tt> method. </p>
+
+<p>When Camel sends a message to an endpoint that endpoint information is
stored on the <a shape="rect" href="exchange.html"
title="Exchange">Exchange</a> as a property with the key
<tt>Exchange.TO_ENDPOINT</tt>.<br clear="none">
+This property contains the last know endpoint the <a shape="rect"
href="exchange.html" title="Exchange">Exchange</a> was sent to (will override
when sending to new endpoint). Though it allows you to trace messages being
sent using <a shape="rect" href="intercept.html"
title="Intercept">interceptors</a> or the <a shape="rect"
href="eventnotifier-to-log-details-about-all-sent-exchanges.html"
title="EventNotifier to log details about all sent Exchanges">Event
Notifier</a>.</p>
+
+<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle"
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">The
<a shape="rect" href="message-history.html" title="Message History">Message
History</a> is scheduled for refactor and improvement in Camel 3.0, to make it
better and easier for end users to access details.</td></tr></table></div>
+
+<h4><a shape="rect" name="MessageHistory-UsingThisPattern"></a>Using This
Pattern</h4>
+
+<p>If you would like to use this EIP Pattern then please read the <a
shape="rect" href="getting-started.html" title="Getting Started">Getting
Started</a>, you may also find the <a shape="rect" href="architecture.html"
title="Architecture">Architecture</a> useful particularly the description of <a
shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a> and <a
shape="rect" href="uris.html" title="URIs">URIs</a>. Then you could try out
some of the <a shape="rect" href="examples.html" title="Examples">Examples</a>
first before trying this pattern out.</p></div>
</td>
<td valign="top">
<div class="navigation">