You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/07/20 13:18:37 UTC

svn commit: r870247 - in /websites/production/camel/content: cache/main.pageCache camel-2120-release.html rabbitmq.html

Author: buildbot
Date: Sat Jul 20 11:18:37 2013
New Revision: 870247

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2120-release.html
    websites/production/camel/content/rabbitmq.html

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

Modified: websites/production/camel/content/camel-2120-release.html
==============================================================================
--- websites/production/camel/content/camel-2120-release.html (original)
+++ websites/production/camel/content/camel-2120-release.html Sat Jul 20 11:18:37 2013
@@ -138,7 +138,7 @@
 
 
 <h2><a shape="rect" name="Camel2.12.0Release-Changesthatmayaffectendusers"></a>Changes that may affect end users</h2>
-<ul><li>The <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumers when using idempotent repository will no longer invoke <tt>contains</tt> with a directory name; this has been changed to only be checked for files.</li><li>Shutting down using <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> now requires the timeout value to be positive. And improved logic to avoid getting stuck in waiting for inflight messages, and having counter go negative.</li><li><a shape="rect" href="tracer.html" title="Tracer">Tracer</a> now requires explicitly to be enabled on <tt>CamelContext</tt> to be available and in use.</li><li>The class <tt>org.apache.camel.processor.interceptor.BacklogTracerInterceptor</tt> has been removed as it was no longer needed due internal optimizations.</li><li>The <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a> default thresho
 ld for spooling to disk has been changed from 64kb to 128kb.</li><li>The unary operators in <a shape="rect" href="simple.html" title="Simple">Simple</a> is now only applied on functions</li><li>The interface <tt>org.apache.camel.api.management.mbean.ManagedTracerBacklogMBean</tt> has been renamed to <tt>org.apache.camel.api.management.mbean.ManagedBacklogTracerMBean</tt></li></ul>
+<ul><li>The <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumers when using idempotent repository will no longer invoke <tt>contains</tt> with a directory name; this has been changed to only be checked for files.</li><li>Shutting down using <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> now requires the timeout value to be positive. And improved logic to avoid getting stuck in waiting for inflight messages, and having counter go negative.</li><li><a shape="rect" href="tracer.html" title="Tracer">Tracer</a> now requires explicitly to be enabled on <tt>CamelContext</tt> to be available and in use.</li><li>The class <tt>org.apache.camel.processor.interceptor.BacklogTracerInterceptor</tt> has been removed as it was no longer needed due internal optimizations.</li><li>The <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a> default thresho
 ld for spooling to disk has been changed from 64kb to 128kb.</li><li>The unary operators in <a shape="rect" href="simple.html" title="Simple">Simple</a> is now only applied on functions</li><li>The interface <tt>org.apache.camel.api.management.mbean.ManagedTracerBacklogMBean</tt> has been renamed to <tt>org.apache.camel.api.management.mbean.ManagedBacklogTracerMBean</tt></li><li>Added <tt>inMemory</tt> method to <tt>org.apache.camel.StreamCache</tt></li></ul>
 
 
 

Modified: websites/production/camel/content/rabbitmq.html
==============================================================================
--- websites/production/camel/content/rabbitmq.html (original)
+++ websites/production/camel/content/rabbitmq.html Sat Jul 20 11:18:37 2013
@@ -36,6 +36,16 @@
     <![endif]-->
 
 
+  <link href='http://camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
+  <link href='http://camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
+  <script src='http://camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
 
     <title>
     Apache Camel: RabbitMQ
@@ -77,7 +87,56 @@
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><h2><a shape="rect" name="RabbitMQ-RabbitMQComponent"></a>RabbitMQ Component</h2>
 
-<p><b>Available as of Camel 2.12</b></p></div>
+<p><b>Available as of Camel 2.12</b></p>
+
+<p>The <b>rabbitmq:</b> component allows you produce and consume messages from <a shape="rect" class="external-link" href="http://www.rabbitmq.com/" rel="nofollow">RabbitMQ</a> instances. Using the RabbitMQ AMQP client, this component offers a pure RabbitMQ approach over the generic <b>amqp:</b> component.</p>
+
+<p>Maven users will need to add the following dependency to their <tt>pom.xml</tt> for this component:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;dependency&gt;
+    &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
+    &lt;artifactId&gt;camel-rabbitmq&lt;/artifactId&gt;
+    &lt;version&gt;x.x.x&lt;/version&gt;
+    &lt;!-- use the same version as your Camel core version --&gt;
+&lt;/dependency&gt;
+]]></script>
+</div></div>
+
+<h3><a shape="rect" name="RabbitMQ-URIformat"></a>URI format</h3>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+rabbitmq:http://hostname[:port]/exchangeName?[options...]://name[?options]
+]]></script>
+</div></div>
+
+<p>Where <b>hostname</b> is the hostname of the running rabbitmq instance or cluster. Port is optional and if not specified then defaults to the RabbitMQ client default (5672). The exchange name is only needed for producers. For </p>
+
+<h3><a shape="rect" name="RabbitMQ-Options"></a>Options</h3>
+<div class="confluenceTableSmall"><div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Property </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>autoAck</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>queue</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>random uuid</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>routingKey</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>threadPoolSize</tt> </td><td colspan="1" rowspan="1" class="
 confluenceTd"> <tt>10</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>username</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> username in case of authenticated access </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>password</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> password for authenticated access </td></tr></tbody></table>
+</div>
+</div>
+
+<h3><a shape="rect" name="RabbitMQ-Headers"></a>Headers</h3>
+
+<p>The following headers are set on exchanges during message transport.</p>
+<div class="confluenceTableSmall"><div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Property </th><th colspan="1" rowspan="1" class="confluenceTh"> Value </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.ROUTING_KEY</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.EXCHANGE_NAME</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.CONTENT_TYPE</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.PRIORITY</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.DELIVERY_TAG</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt
 >rabbitmq.CORRELATIONID</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.MESSAGE_ID</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.DELIVERY_MODE</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.USERID</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.CLUSTERID</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.REPLY_TO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.CONTENT_ENCODING</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr
 ><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.TYPE</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.EXPIRATION</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.TIMESTAMP</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>rabbitmq.APP_ID</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ) </td></tr></tbody></table>
+</div>
+</div>
+
+<p>Headers are set by the consumer once the message is received. The producer will also set the headers for downstream processors once the exchange has taken place. Any headers set prior to production that the producer sets will be overriden.</p>
+
+<h3><a shape="rect" name="RabbitMQ-MessageBody"></a>Message Body</h3>
+
+<p>The component will use the camel exchange in body as the rabbit mq message body. The camel exchange in object must be convertible to a byte array. Otherwise the producer will throw an exception of unsupported body type.</p>
+
+<h3><a shape="rect" name="RabbitMQ-Samples"></a>Samples</h3>
+
+<p>... to be completed</p></div>
         </td>
         <td valign="top">
           <div class="navigation">