Author: buildbot
Date: Mon Aug 27 12:17:40 2012
New Revision: 830260

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/scala-dsl-eip.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/scala-dsl-eip.html
==============================================================================
--- websites/production/camel/content/scala-dsl-eip.html (original)
+++ websites/production/camel/content/scala-dsl-eip.html Mon Aug 27 12:17:40 
2012
@@ -81,12 +81,12 @@
 You can check the <a shape="rect" class="external-link" 
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-scala/src/test/scala/";>unit
 test source code</a> for the Scala Component to find more 
examples.</p></td></tr></table></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1334388262189 {margin-left: 0px;padding: 0px;}
-div.rbtoc1334388262189 ul {list-style: none;margin-left: 0px;}
-div.rbtoc1334388262189 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1346067176995 {margin-left: 0px;padding: 0px;}
+div.rbtoc1346067176995 ul {list-style: none;margin-left: 0px;}
+div.rbtoc1346067176995 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="rbtoc1334388262189">
-<ul><li><span class="TOCOutline">1</span> <a shape="rect" 
href="#ScalaDSL-EIP-Messagingsystems">Messaging systems</a></li><ul><li><span 
class="TOCOutline">1.1</span> <a shape="rect" 
href="#ScalaDSL-EIP-Pipeline">Pipeline </a></li><li><span 
class="TOCOutline">1.2</span> <a shape="rect" 
href="#ScalaDSL-EIP-Filter">Filter </a></li></ul><li><span 
class="TOCOutline">2</span> <a shape="rect" 
href="#ScalaDSL-EIP-Messagerouting">Message routing</a></li><ul><li><span 
class="TOCOutline">2.1</span> <a shape="rect" 
href="#ScalaDSL-EIP-Aggregator">Aggregator</a></li><li><span 
class="TOCOutline">2.2</span> <a shape="rect" 
href="#ScalaDSL-EIP-Contentbasedrouter">Content based router</a></li><li><span 
class="TOCOutline">2.3</span> <a shape="rect" 
href="#ScalaDSL-EIP-Delayer">Delayer</a></li><li><span 
class="TOCOutline">2.4</span> <a shape="rect" 
href="#ScalaDSL-EIP-Loadbalancer">Load balancer</a></li><li><span 
class="TOCOutline">2.5</span> <a shape="rect" 
href="#ScalaDSL-EIP-Multicast">Mult
 icast</a></li><li><span class="TOCOutline">2.6</span> <a shape="rect" 
href="#ScalaDSL-EIP-Recipientlist">Recipient list</a></li><li><span 
class="TOCOutline">2.7</span> <a shape="rect" 
href="#ScalaDSL-EIP-Resequencer">Resequencer</a></li><li><span 
class="TOCOutline">2.8</span> <a shape="rect" 
href="#ScalaDSL-EIP-Splitter">Splitter</a></li><li><span 
class="TOCOutline">2.9</span> <a shape="rect" 
href="#ScalaDSL-EIP-Throttler">Throttler</a></li></ul><li><span 
class="TOCOutline">3</span> <a shape="rect" 
href="#ScalaDSL-EIP-Messagetransformation">Message 
transformation</a></li><ul><li><span class="TOCOutline">3.1</span> <a 
shape="rect" href="#ScalaDSL-EIP-Contentenricher">Content 
enricher</a></li></ul></ul></div>
+/*]]>*/</style><div class="rbtoc1346067176995">
+<ul><li><span class="TOCOutline">1</span> <a shape="rect" 
href="#ScalaDSL-EIP-Messagingsystems">Messaging systems</a></li><ul><li><span 
class="TOCOutline">1.1</span> <a shape="rect" 
href="#ScalaDSL-EIP-Pipeline">Pipeline </a></li><li><span 
class="TOCOutline">1.2</span> <a shape="rect" 
href="#ScalaDSL-EIP-Filter">Filter </a></li></ul><li><span 
class="TOCOutline">2</span> <a shape="rect" 
href="#ScalaDSL-EIP-Messagingchannels">Messaging channels</a></li><ul><li><span 
class="TOCOutline">2.1</span> <a shape="rect" 
href="#ScalaDSL-EIP-Deadletterchannel">Dead letter 
channel</a></li></ul><li><span class="TOCOutline">3</span> <a shape="rect" 
href="#ScalaDSL-EIP-Messagerouting">Message routing</a></li><ul><li><span 
class="TOCOutline">3.1</span> <a shape="rect" 
href="#ScalaDSL-EIP-Aggregator">Aggregator</a></li><li><span 
class="TOCOutline">3.2</span> <a shape="rect" 
href="#ScalaDSL-EIP-Contentbasedrouter">Content based router</a></li><li><span 
class="TOCOutline">3.3</span> <a shape="re
 ct" href="#ScalaDSL-EIP-Delayer">Delayer</a></li><li><span 
class="TOCOutline">3.4</span> <a shape="rect" 
href="#ScalaDSL-EIP-Loadbalancer">Load balancer</a></li><li><span 
class="TOCOutline">3.5</span> <a shape="rect" 
href="#ScalaDSL-EIP-Multicast">Multicast</a></li><li><span 
class="TOCOutline">3.6</span> <a shape="rect" 
href="#ScalaDSL-EIP-Recipientlist">Recipient list</a></li><li><span 
class="TOCOutline">3.7</span> <a shape="rect" 
href="#ScalaDSL-EIP-Resequencer">Resequencer</a></li><li><span 
class="TOCOutline">3.8</span> <a shape="rect" 
href="#ScalaDSL-EIP-Splitter">Splitter</a></li><li><span 
class="TOCOutline">3.9</span> <a shape="rect" 
href="#ScalaDSL-EIP-Throttler">Throttler</a></li></ul><li><span 
class="TOCOutline">4</span> <a shape="rect" 
href="#ScalaDSL-EIP-Messagetransformation">Message 
transformation</a></li><ul><li><span class="TOCOutline">4.1</span> <a 
shape="rect" href="#ScalaDSL-EIP-Contentenricher">Content 
enricher</a></li></ul></ul></div>
 
 <h3><a shape="rect" name="ScalaDSL-EIP-Messagingsystems"></a>Messaging 
systems</h3>
 <h4><a shape="rect" name="ScalaDSL-EIP-Pipeline"></a>Pipeline <a shape="rect" 
name="ScalaDSL-EIP-pipeline"></a></h4>
@@ -130,6 +130,27 @@ div.rbtoc1334388262189 li {margin-left: 
 </pre>
 </div></div>
 
+<h3><a shape="rect" name="ScalaDSL-EIP-Messagingchannels"></a>Messaging 
channels</h3>
+
+<h4><a shape="rect" name="ScalaDSL-EIP-Deadletterchannel"></a>Dead letter 
channel</h4>
+
+<p>The <a shape="rect" class="external-link" 
href="http://www.eaipatterns.com/DeadLetterChannel.html"; rel="nofollow">dead 
letter channel</a> can be created with the syntax similar to the one used in <a 
shape="rect" class="external-link" 
href="http://camel.apache.org/dead-letter-channel.html";>Java DSL</a>.</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java"><span class="code-quote">"jms:in"</span> 
errorHandler(deadLetterChannel(<span class="code-quote">"jms:error"</span>)) to 
<span class="code-quote">"jms:out"</span></pre>
+</div></div>  
+
+<p>You can also use different error handler available for the <a shape="rect" 
class="external-link" href="http://camel.apache.org/error-handler.html";>Java 
DSL</a>. In particular Scala DSL supports <a shape="rect" class="external-link" 
href="http://camel.apache.org/defaulterrorhandler.html";>DefaultErrorHandler</a> 
and <a shape="rect" class="external-link" 
href="http://camel.apache.org/error-handler.html#ErrorHandler-LoggingErrorHandler";>LoggingErrorHandler</a>.</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java"><span class="code-comment">// DefaultErrorHandler
+</span><span class="code-quote">"jms:in"</span> 
errorHandler(defaultErrorHandler) to <span class="code-quote">"jms:out"</span>
+
+<span class="code-comment">// LoggingErrorHandler
+</span><span class="code-quote">"jms:in"</span> 
errorHandler(loggingErrorHandler.level(LoggingLevel.INFO).logName(<span 
class="code-quote">"com.example.MyLogger"</span>)) to <span 
class="code-quote">"jms:out"</span>
+</pre>
+</div></div>  
+
 <h3><a shape="rect" name="ScalaDSL-EIP-Messagerouting"></a>Message routing</h3>
 <h4><a shape="rect" name="ScalaDSL-EIP-Aggregator"></a>Aggregator</h4>
 <p>The aggregator EIP aggregates messages based on some message correlation 
criteria.  In the Scala DSL, the <tt>aggregate</tt> method takes a function 
<tt>Exchange &#8658; Any</tt> to determine the correlation value for the 
exchange.  In the sample below, message are being aggregated if the first 7 
letters in the message body are the same.</p>


Reply via email to