camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r950265 - in /websites/production/camel/content: cache/main.pageCache rabbitmq.html
Date Wed, 06 May 2015 08:18:40 GMT
Author: buildbot
Date: Wed May  6 08:18:39 2015
New Revision: 950265

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 May  6 08:18:39 2015
@@ -96,7 +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="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><code>connectionTimeout</code></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><code>requestedChannelMax</code></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><code>requestedFrameMax</code></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><code>requestedHeartbeat</code></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><code>sslProtocol</code></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><code>trustManager</code></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><code>clientProperties</code></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><code>connectionFactory</code></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:</stron
 g> 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><code>automaticRecoveryEnabled</code></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><code>networkRecoveryInterval</code></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="conflue
 nceTd"><p><code>topologyRecoveryEnabled</code></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><code>prefetchEnabled</code></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><code>prefetchSize</code></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><code>prefetchCount</code></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><code>prefetchGlobal</code></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"><code>declare</code></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, came
 l 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><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>concurrentConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.14:</strong> Number
of concurrent consumers when consuming from broker. (eg similar as to the same option for
the <a shape="rect" href="jms.html">JMS</a> component).</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>deadLetterRoutingKey</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.14:</strong> The routing key
for the dead letter exchange</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>deadLetterExchange</code></p></td><td
colspan="1" rowspan="1" class="confl
 uenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel
2.14:</strong> The name of the dead letter exchange</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>deadLetterExchangeType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>direct</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.14:</strong>
The type of the dead letter exchange</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><span><code>channelPoolMaxSize</code></span></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>10</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.14.1:</strong> (Producer
only) <span>Maximum number of channels used to send messages</span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code><span>channelPoolMaxWait</span></code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1000</p></td><td colspan="1"
rowspan="1" 
 class="confluenceTd"><p><strong>Camel 2.14.1:</strong> <span>(Producer
only) </span><span>Maximum time (in milliseconds) waiting for a channel</span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">queueArgsConfigurer</td><td colspan="1"
rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel
2.15.1: </strong>the custom ArgsConfigurer instance which could be used to configure
the Args map when declaring the queue.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">exchangeArgsConfigurer</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td
colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.15.1: <strong>
</strong></strong>the custom ArgsConfigurer instance which could be used to configure
the Args map when declaring the exchange.</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><code>connectionTimeout</code></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><code>requestedChannelMax</code></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><code>requestedFrameMax</code></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><code>requestedHeartbeat</code></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><code>sslProtocol</code></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><code>trustManager</code></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><code>clientProperties</code></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><code>connectionFactory</code></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:</stron
 g> 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><code>automaticRecoveryEnabled</code></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><code>networkRecoveryInterval</code></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="conflue
 nceTd"><p><code>topologyRecoveryEnabled</code></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><code>prefetchEnabled</code></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><code>prefetchSize</code></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><code>prefetchCount</code></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><code>prefetchGlobal</code></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"><code>declare</code></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, came
 l 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><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>concurrentConsumers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.14:</strong> Number
of concurrent consumers when consuming from broker. (eg similar as to the same option for
the <a shape="rect" href="jms.html">JMS</a> component).</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>deadLetterRoutingKey</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.14:</strong> The routing key
for the dead letter exchange</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>deadLetterExchange</code></p></td><td
colspan="1" rowspan="1" class="confl
 uenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel
2.14:</strong> The name of the dead letter exchange</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>deadLetterExchangeType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>direct</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.14:</strong>
The type of the dead letter exchange</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><span><code>channelPoolMaxSize</code></span></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>10</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.14.1:</strong> (Producer
only) <span>Maximum number of channels used to send messages</span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code><span>channelPoolMaxWait</span></code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1000</p></td><td colspan="1"
rowspan="1" 
 class="confluenceTd"><p><strong>Camel 2.14.1:</strong> <span>(Producer
only) </span><span>Maximum time (in milliseconds) waiting for a channel</span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>queueArgsConfigurer</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.15.1: </strong>the custom ArgsConfigurer
instance which could be used to configure the Args map when declaring the queue.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>exchangeArgsConfigurer</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.15.1: <strong> </strong></strong>the
custom ArgsConfigurer instance which could be used to configure the Args map when declaring
the exchange.</td></tr></tbody></table></div></div><p>See
<a shape="rect" class="external-link" href="http://www.rabbitmq.com/relea
 ses/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;



Mime
View raw message