Author: buildbot Date: Thu Feb 21 12:21:16 2013 New Revision: 851404 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/camel-30-message-store.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/camel-30-message-store.html ============================================================================== --- websites/production/camel/content/camel-30-message-store.html (original) +++ websites/production/camel/content/camel-30-message-store.html Thu Feb 21 12:21:16 2013 @@ -125,7 +125,30 @@ from(...) ... </pre> </div></div> -</div> + +<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Setting default message store for route</b></div><div class="codeContent panelContent"> +<pre class="code-java"> +defaultMessageStore(myStore); +</pre> +</div></div> + +<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Claim Check EIP store</b></div><div class="codeContent panelContent"> +<pre class="code-java"> +<span class="code-comment">// 1) Store body. +</span><span class="code-comment">// 2) Set body to <span class="code-keyword">null</span>. +</span><span class="code-comment">// 3) Set Exchange.CLAIM_CHECK header to unique claim id. +</span>from(...).claimCheck().to(...); +</pre> +</div></div> + +<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Claim Check EIP read</b></div><div class="codeContent panelContent"> +<pre class="code-java"> +<span class="code-comment">// 1) Lookup <span class="code-keyword">for</span> the Exchange.CLAIM_CHECK header value. +</span><span class="code-comment">// 2) Read the message. +</span><span class="code-comment">// 3) Set body to the value fetched from the store. +</span>from(...).setHeader(Exchange.CLAIM_CHECK, <span class="code-keyword">const</span>(<span class="code-quote">"id"</span>)).claim().to(...); +</pre> +</div></div></div> </td> <td valign="top"> <div class="navigation">