Author: buildbot
Date: Wed Aug 27 06:17:58 2014
New Revision: 920499

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/rabbitmq.html
==============================================================================
--- websites/production/camel/content/rabbitmq.html (original)
+++ websites/production/camel/content/rabbitmq.html Wed Aug 27 06:17:58 2014
@@ -96,9 +96,7 @@
 </div></div><h3 id="RabbitMQ-URIformat">URI format</h3><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[rabbitmq://hostname[:port]/exchangeName?[options]
 ]]></script>
-</div></div><p>Where <strong>hostname</strong> 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 determines 
which exchange produced messages will sent to. In the case of consumers, the 
exchange name determines which exchange the queue will bind to.</p><h3 
id="RabbitMQ-Options">Options</h3><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Description 
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>autoAck</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> If messages should be auto acknowledged 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>autoDelete</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> If it is true, the exchange will be deleted when it is 
no longer in use </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>durable</code> </p></td><td colspan="1" 
rowspan="1" class="conflu
 enceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> If we are declaring a durable exchange (the exchange 
will survive a server restart) </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>queue</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>random uuid</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The queue to receive messages 
from </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>routingKey</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The routing key to use when binding a consumer queue 
to the exchange. For producer routing keys, you set the header (see header 
section) </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>threadPoolSize</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>10</co
 de> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The consumer 
uses a Thread Pool Executor with a fixed number of threads. This setting allows 
you to set that number of threads. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>username</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> username in case of 
authenticated access </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>password</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> password for authenticated access 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>vhost</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>/</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> the vhost for the channel </p
 ></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
 ><code>exchangeType</code> </p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p> <code>direct</code> </p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p> <strong>Camel 2.12.2:</strong> The 
 >exchange type such as direct or topic. </p></td></tr><tr><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p> <code>bridgeEndpoint</code> </p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
 ></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 
 >2.12.3:</strong> If the bridgeEndpoint is true, the producer will ignore the 
 >message header of "rabbitmq.EXCHANGE_NAME" and "rabbitmq.ROUTING_KEY" 
 ></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
 ><code>addresses</code> </p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p> <strong>Camel 2.12.3:</strong> If this 
 >option 
 is set, camel-rabbitmq will try to create connection based on the setting of 
option addresses. The addresses value is a string which looks like 
"server1:12345, server2:12345"</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>connectionTimeout        </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>      0</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> Connection 
timeout</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>requestedChannelMax      </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>      0</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> Connection requested 
channel max (max number of channels offered)</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>requestedFrameMax        </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>      0</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong
 >Camel 2.14:</strong> Connection requested frame max (max size of frame 
 >offered)</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p>requestedHeartbeat       </p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>      0</p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p> <strong>Camel 2.14:</strong> Connection 
 >requested heartbeat (heart-beat in seconds offered)</p></td></tr><tr><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>sslProtocol              
 ></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>  null 
 ></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 
 >2.14:</strong> Enables SSL on connection, accepted value are `true`, `TLS` 
 >and 'SSLv3`</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p>trustManager             </p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>  null </p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p> <strong>Camel 2.14:</strong> Configure 
 >SSL trust ma
 nager, SSL should be enabled for this option to be 
effective</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>clientProperties         </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>  null </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> Connection client 
properties (client info used in negotiating with the 
server)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>connectionFactory        </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>  null </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> Custom RabbitMQ 
connection factory. When this option is set, all connection options 
(connectionTimeout, requestedChannelMax...) set on URI are not 
used</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>automaticRecoveryEnabled </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> false </p></td><td colspan="1" rowspan="1" 
 class="confluenceTd"><p> <strong>Camel 2.14:</strong> Enables connection 
automatic recovery (uses connection implementation that performs automatic 
recovery when connection shutdown is not initiated by the 
application)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>networkRecoveryInterval  </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>  5000 </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> Network recoverty 
interval in milliseconds (interval used when recovering from network 
failure)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>topologyRecoveryEnabled  </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>  true </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> Enables connection 
topology recovery (should topology recovery be performed?)</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>prefetchEnabled </p></td><td 
 colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.14:</strong> 
Enables the quality of service on the RabbitMQConsumer side, you need to 
specify the option of <strong>prefetchSize</strong>, 
<strong>prefetchCount</strong>, <strong>prefetchGlobal</strong> at the same 
time</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>prefetchSize </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> 0 </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> The maximum amount of 
content (measured in octets) that the server will deliver, 0 if 
unlimited.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>prefetchCount </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> 0 </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> The maximum number of 
messages that the server will deliver, 0 if unlimi
 ted.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>prefetchGlobal </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> false </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.14:</strong> If the settings should be 
applied to the entire channel rather than each 
consumer</p></td></tr></tbody></table></div>
-</div><p>See <a shape="rect" class="external-link" 
href="http://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/ConnectionFactory.html";
 
rel="nofollow">http://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/ConnectionFactory.html</a>
 and the AMQP specification for more information on connection options.</p><h2 
id="RabbitMQ-Customconnectionfactory">Custom connection factory</h2><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+</div></div><p>Where <strong>hostname</strong> 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 determines 
which exchange produced messages will sent to. In the case of consumers, the 
exchange name determines which exchange the queue will bind to.</p><h3 
id="RabbitMQ-Options">Options</h3><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Property</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>autoAck</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>If messages should be auto 
acknowledged</p></td></tr><tr><
 td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>autoDelete</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>If it is true, the exchange will be deleted 
when it is no longer in use</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>durable</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>If we are declaring a durable exchange (the 
exchange will survive a server restart)</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>queue</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>random uuid</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The queue to receive messages 
from</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>routingKey</code></p></td><td colspan="1" 
rowspan="1" cla
 ss="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The routing key to use when binding a consumer queue to 
the exchange. For producer routing keys, you set the header (see header 
section)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>threadPoolSize</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>10</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The consumer uses a Thread Pool Executor 
with a fixed number of threads. This setting allows you to set that number of 
threads.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>username</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>username in case of authenticated 
access</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>password</code></p></td><td colspan="1" 
rowspan="1" cla
 ss="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>password for authenticated access</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>vhost</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>/</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>the vhost for the 
channel</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>exchangeType</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>direct</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.12.2:</strong> The exchange 
type such as direct or topic.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>bridgeEndpoint</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.12.3:</strong> If the 
bridgeEndpoint is true, the prod
 ucer will ignore the message header of "rabbitmq.EXCHANGE_NAME" and 
"rabbitmq.ROUTING_KEY"</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>addresses</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.12.3:</strong> If this 
option is set, camel-rabbitmq will try to create connection based on the 
setting of option addresses. The addresses value is a string which looks like 
"server1:12345, server2:12345"</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>connectionTimeout</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Connection 
timeout</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>requestedChannelMax</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" class="conf
 luenceTd"><p><strong>Camel 2.14:</strong> Connection requested channel max 
(max number of channels offered)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>requestedFrameMax</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Connection requested frame 
max (max size of frame offered)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>requestedHeartbeat</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Connection requested 
heartbeat (heart-beat in seconds offered)</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslProtocol</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>null</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Enables SSL on connection, 
accepted value are `true`, `
 TLS` and 'SSLv3`</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>trustManager</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>null</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Configure SSL trust 
manager, SSL should be enabled for this option to be 
effective</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>clientProperties</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>null</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Connection client 
properties (client info used in negotiating with the 
server)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>connectionFactory</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>null</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Custom RabbitMQ connection 
factory. When this option is set, all connection options (connectionTimeou
 t, requestedChannelMax...) set on URI are not used</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>automaticRecoveryEnabled</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>false</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Enables connection 
automatic recovery (uses connection implementation that performs automatic 
recovery when connection shutdown is not initiated by the 
application)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>networkRecoveryInterval</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>5000</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> Network recoverty interval 
in milliseconds (interval used when recovering from network 
failure)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>topologyRecoveryEnabled</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1" rowspan
 ="1" class="confluenceTd"><p><strong>Camel 2.14:</strong> Enables connection 
topology recovery (should topology recovery be performed?)</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>prefetchEnabled</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.14:</strong> Enables the 
quality of service on the RabbitMQConsumer side, you need to specify the option 
of <strong>prefetchSize</strong>, <strong>prefetchCount</strong>, 
<strong>prefetchGlobal</strong> at the same time</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>prefetchSize</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.14:</strong> The maximum 
amount of content (measured in octets) that the server will deliver, 0 if 
unlimited.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>prefetchCount</
 p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.14:</strong> 
The maximum number of messages that the server will deliver, 0 if 
unlimited.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>prefetchGlobal</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>false</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.14:</strong> If the settings should be 
applied to the entire channel rather than each consumer</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">declare</td><td colspan="1" 
rowspan="1" class="confluenceTd">true</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.14</strong>: If the option is true, camel 
declare the exchange and queue name and bind them together. If the option is 
false, camel won't declare the exchange and queue name on the 
server.</td></tr></tbody></table></div></div><p>See <a shape="rect"
  class="external-link" 
href="http://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/ConnectionFactory.html";
 
rel="nofollow">http://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/ConnectionFactory.html</a>
 and the AMQP specification for more information on connection options.</p><h2 
id="RabbitMQ-Customconnectionfactory">Custom connection factory</h2><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;bean 
id=&quot;customConnectionFactory&quot; 
class=&quot;com.rabbitmq.client.ConnectionFactory&quot;&gt;
 &lt;property name=&quot;host&quot; value=&quot;localhost&quot;/&gt;
 &lt;property name=&quot;port&quot; value=&quot;5672&quot;/&gt;
@@ -112,11 +110,7 @@
 &lt;/route&gt;
 &lt;/camelContext&gt;
 ]]></script>
-</div></div><p><span style="font-size: 16.0px;line-height: 1.5625;"><br 
clear="none"></span></p><p><span style="font-size: 16.0px;line-height: 
1.5625;">Headers</span></p><p>The following headers are set on exchanges when 
consuming messages.</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.ROUTING_KEY</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The routing key that was used to receive the message, 
or the routing key that will be used when producing a message 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.EXCHANGE_NAME</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The exchange the message was received from 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.DELIVERY_TAG</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The rabbitmq delivery tag of the received message 
</p></td></tr></tbody></table></div>
-</div><p>The following headers are used by the producer. If these are set on 
the camel exchange then they will be set on the RabbitMQ message.</p><div 
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.ROUTING_KEY</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The routing key that will be used when sending the 
message </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.EXCHANGE_NAME</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The exchange the message was received from, or sent to 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.CONTENT_TYPE</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The contentType to set on the RabbitMQ message 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.PRIORITY</code> </p></td><td colspan="1" rowspan="
 1" class="confluenceTd"><p> The priority header to set on the RabbitMQ message 
 </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.CORRELATIONID</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The correlationId to set on the RabbitMQ message  
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.MESSAGE_ID</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The message id to set on the RabbitMQ message  
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.DELIVERY_MODE</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> If the message should be persistent or not 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.USERID</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The userId to set on the RabbitMQ message  
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><
 p> <code>rabbitmq.CLUSTERID</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The clusterId to set on the RabbitMQ message 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.REPLY_TO</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The replyTo to set on the RabbitMQ message 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.CONTENT_ENCODING</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The contentEncoding to set on the RabbitMQ message 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.TYPE</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The type to set on the RabbitMQ 
message</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.EXPIRATION</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The expiration to set on the RabbitMQ message 
</p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.TIMESTAMP</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The timestamp to set on the RabbitMQ message 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>rabbitmq.APP_ID</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The appId to set on the RabbitMQ message 
</p></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 id="RabbitMQ-MessageBody">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 
id="RabbitMQ-Samples">Samples</h3><p>To receive messages from a queue that is 
bound to an exchange A with the routing key B,</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p><span style="font-size: 16.0px;line-height: 1.5625;"><br 
clear="none"></span></p><p><span style="font-size: 16.0px;line-height: 
1.5625;">Headers</span></p><p>The following headers are set on exchanges when 
consuming messages.</p><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Property</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.ROUTING_KEY</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The routing key that was used 
to receive the message, or the routing key that will be used when producing a 
message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.EXCHANGE_NAME</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The exchange the message was 
received from</p></td></tr><tr><td colspan="1" rowspa
 n="1" class="confluenceTd"><p><code>rabbitmq.DELIVERY_TAG</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The rabbitmq delivery tag of 
the received message</p></td></tr></tbody></table></div></div><p>The following 
headers are used by the producer. If these are set on the camel exchange then 
they will be set on the RabbitMQ message.</p><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Value</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.ROUTING_KEY</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The routing key that will be 
used when sending the message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.EXCHANGE_NAME</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The exchange the message wa
 s received from, or sent to</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.CONTENT_TYPE</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The contentType to set on the 
RabbitMQ message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.PRIORITY</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The priority header to set on the RabbitMQ 
message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.CORRELATIONID</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The correlationId to set on the 
RabbitMQ message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.MESSAGE_ID</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The message id to set on the 
RabbitMQ message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.DELIVERY_MODE</code></p></td><td colspan=
 "1" rowspan="1" class="confluenceTd"><p>If the message should be persistent or 
not</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.USERID</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The userId to set on the RabbitMQ 
message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.CLUSTERID</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The clusterId to set on the RabbitMQ 
message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.REPLY_TO</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The replyTo to set on the RabbitMQ 
message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.CONTENT_ENCODING</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The contentEncoding to set on 
the RabbitMQ message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.TY
 PE</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type 
to set on the RabbitMQ message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.EXPIRATION</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The expiration to set on the 
RabbitMQ message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.TIMESTAMP</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The timestamp to set on the RabbitMQ 
message</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>rabbitmq.APP_ID</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The appId to set on the RabbitMQ 
message</p></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 o
 verriden.</p><h3 id="RabbitMQ-MessageBody">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 
id="RabbitMQ-Samples">Samples</h3><p>To receive messages from a queue that is 
bound to an exchange A with the routing key B,</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[from(&quot;rabbitmq://localhost/A?routingKey=B&quot;)
 ]]></script>
 </div></div><p>To receive messages from a queue with a single thread with auto 
acknowledge disabled.</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">


Reply via email to