Author: buildbot Date: Thu Jan 29 07:18:27 2015 New Revision: 938147 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/hdfs2.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/hdfs2.html ============================================================================== --- websites/production/camel/content/hdfs2.html (original) +++ websites/production/camel/content/hdfs2.html Thu Jan 29 07:18:27 2015 @@ -102,7 +102,7 @@ <p>When consuming from hdfs2 then in normal mode, a file is split into chunks, producing a message per chunk. You can configure the size of the chunk using the chunkSize option. If you want to read from hdfs and write to a regular file using the file component, then you can use the fileMode=Append to append each of the chunks together.</p> </div> </div> -<h3 id="HDFS2-Options">Options</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>overwrite</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The file can be overwritten</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>append</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Append to existing file. Notice that not all HDFS file systems support the append option.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>bufferSi ze</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>4096</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The buffer size used by HDFS</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>replication</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>3</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The HDFS replication factor</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>blockSize</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>67108864</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The size of the HDFS blocks</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>fileType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>NORMAL_FILE</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>It can be SEQUENCE_FILE, MAP_FILE, ARRAY_FILE, or BLOOMMAP_FILE, see Hadoop</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>fileSystemType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>HDFS</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>It can be LOCAL for local filesystem</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>keyType</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 type for the key in case of sequence or map files. See below.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>valueType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>TEXT</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type for the key in case of sequence or map files. See below.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>splitStrategy</code></p></td><td colspan="1" rows pan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A string describing the strategy on how to split the file based on different criteria. See below.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>openedSuffix</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>opened</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>When a file is opened for reading/writing the file is renamed with this suffix to avoid to read it during the writing phase.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>readSuffix</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>read</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Once the file has been read is renamed with this suffix to avoid to read it again.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>initialDelay</code></p></td><td colspan="1" rowspan ="1" class="confluenceTd"><p><code>0</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>For the consumer, how much to wait (milliseconds) before to start scanning the directory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>delay</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The interval (milliseconds) between the directory scans.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>pattern</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>*</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The pattern used for scanning the directory</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>chunkSize</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>4096</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>When reading a normal fi le, this is split into chunks producing a message per chunk.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>connectOnStartup</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.9.3/2.10.1:</strong> Whether to connect to the HDFS file system on starting the producer/consumer. If <code>false</code> then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to <code>false</code> allows your application to startup, and not block for up till 15 minutes.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>owner</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The file owner must match this owner for the consumer to pickup the fi le. Otherwise the file is skipped.</p></td></tr></tbody></table></div></div><h4 id="HDFS2-KeyTypeandValueType">KeyType and ValueType</h4><ul><li>NULL it means that the key or the value is absent</li><li>BYTE for writing a byte, the java Byte class is mapped into a BYTE</li><li>BYTES for writing a sequence of bytes. It maps the java ByteBuffer class</li><li>INT for writing java integer</li><li>FLOAT for writing java float</li><li>LONG for writing java long</li><li>DOUBLE for writing java double</li><li>TEXT for writing java strings</li></ul><p>BYTES is also used with everything else, for example, in Camel a file is sent around as an InputStream, int this case is written in a sequence file or a map file as a sequence of bytes.</p><h3 id="HDFS2-SplittingStrategy">Splitting Strategy</h3><p>In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to so lve this problem in this way:</p><ul><li>If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured <a shape="rect" href="uuidgenerator.html">UuidGenerator</a></li><li>Every time a splitting condition is met, a new file is created.<br clear="none"> The splitStrategy option is defined as a string with the following syntax:<br clear="none"> splitStrategy=<ST>:<value>,<ST>:<value>,*</li></ul><p>where <ST> can be:</p><ul><li>BYTES a new file is created, and the old is closed when the number of written bytes is more than <value></li><li>MESSAGES a new file is created, and the old is closed when the number of written messages is more than <value></li><li>IDLE a new file is created, and the old is closed when no writing happened in the last <value> milliseconds</li></ul> <div class="aui-message warning shadowed information-macro"> +<h3 id="HDFS2-Options">Options</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>overwrite</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The file can be overwritten</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>append</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Append to existing file. Notice that not all HDFS file systems support the append option.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>bufferSi ze</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>4096</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The buffer size used by HDFS</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>replication</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>3</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The HDFS replication factor</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>blockSize</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>67108864</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The size of the HDFS blocks</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>fileType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>NORMAL_FILE</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>It can be SEQUENCE_FILE, MAP_FILE, ARRAY_FILE, or BLOOMMAP_FILE, see Hadoop</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>fileSystemType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>HDFS</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>It can be LOCAL for local filesystem</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>keyType</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 type for the key in case of sequence or map files. See below.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>valueType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>BYTES</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type for the key in case of sequence or map files. See below.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>splitStrategy</code></p></td><td colspan="1" row span="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A string describing the strategy on how to split the file based on different criteria. See below.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>openedSuffix</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>opened</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>When a file is opened for reading/writing the file is renamed with this suffix to avoid to read it during the writing phase.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>readSuffix</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>read</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Once the file has been read is renamed with this suffix to avoid to read it again.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>initialDelay</code></p></td><td colspan="1" rowspa n="1" class="confluenceTd"><p><span style="font-family: monospace;">1000</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>For the consumer, how much to wait (milliseconds) before to start scanning the directory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>delay</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The interval (milliseconds) between the directory scans.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>pattern</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>*</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The pattern used for scanning the directory</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>chunkSize</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>4096</code></p></td><td colspan="1" rowspan="1" class="confl uenceTd"><p>When reading a normal file, this is split into chunks producing a message per chunk.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>connectOnStartup</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.9.3/2.10.1:</strong> Whether to connect to the HDFS file system on starting the producer/consumer. If <code>false</code> then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to <code>false</code> allows your application to startup, and not block for up till 15 minutes.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>owner</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The file owner must match this own er for the consumer to pickup the file. Otherwise the file is skipped.</p></td></tr></tbody></table></div></div><h4 id="HDFS2-KeyTypeandValueType">KeyType and ValueType</h4><ul><li>NULL it means that the key or the value is absent</li><li>BYTE for writing a byte, the java Byte class is mapped into a BYTE</li><li>BYTES for writing a sequence of bytes. It maps the java ByteBuffer class</li><li>INT for writing java integer</li><li>FLOAT for writing java float</li><li>LONG for writing java long</li><li>DOUBLE for writing java double</li><li>TEXT for writing java strings</li></ul><p>BYTES is also used with everything else, for example, in Camel a file is sent around as an InputStream, int this case is written in a sequence file or a map file as a sequence of bytes.</p><h3 id="HDFS2-SplittingStrategy">Splitting Strategy</h3><p>In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to solve this problem in this way:</p><ul><li>If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured <a shape="rect" href="uuidgenerator.html">UuidGenerator</a></li><li>Every time a splitting condition is met, a new file is created.<br clear="none"> The splitStrategy option is defined as a string with the following syntax:<br clear="none"> splitStrategy=<ST>:<value>,<ST>:<value>,*</li></ul><p>where <ST> can be:</p><ul><li>BYTES a new file is created, and the old is closed when the number of written bytes is more than <value></li><li>MESSAGES a new file is created, and the old is closed when the number of written messages is more than <value></li><li>IDLE a new file is created, and the old is closed when no writing happened in the last <value> milliseconds</li></ul> <div class="aui-message warning shadowed information-macro "> <span class="aui-icon icon-warning">Icon</span> <div class="message-content"> <p>note that this strategy currently requires either setting an IDLE value or setting the HdfsConstants.HDFS_CLOSE header to false to use the BYTES/MESSAGES configuration...otherwise, the file will be closed with each message</p> Modified: websites/production/camel/content/rabbitmq.html ============================================================================== --- websites/production/camel/content/rabbitmq.html (original) +++ websites/production/camel/content/rabbitmq.html Thu Jan 29 07:18:27 2015 @@ -96,18 +96,18 @@ </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>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><tr><td colspan="1" rowspan="1" class="confluenceT d"><p>concurrentConsumers</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>deadLetterRoutingKey</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </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>deadLetterExchange</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </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>deadLetterExchangeType</p></td><td colsp an="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>channelPoolMaxSize</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><span>channelPoolMaxWait</span></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></tbody></table></div></div><p>See <a shape="rect" class="external-link" href="http://www.rabbitmq.com/releases/rabbitmq-ja va-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"> </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"> </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><span>channelPoolMaxWait</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>1000</p></td><td colspan="1" rowspan="1" class="conflu enceTd"><p><strong>Camel 2.14.1:</strong> <span>(Producer only) </span><span>Maximum time (in milliseconds) waiting for a channel</span></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"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<bean id="customConnectionFactory" class="com.rabbitmq.client.ConnectionFactory"> -<property name="host" value="localhost"/> -<property name="port" value="5672"/> -<property name="username" value="camel"/> -<property name="password" value="bugsbunny"/> + <property name="host" value="localhost"/> + <property name="port" value="5672"/> + <property name="username" value="camel"/> + <property name="password" value="bugsbunny"/> </bean> <camelContext> -<route> -<from uri="direct:rabbitMQEx2"/> -<to uri="rabbitmq://localhost:5672/ex2?connectionFactory=#customConnectionFactory"/> -</route> + <route> + <from uri="direct:rabbitMQEx2"/> + <to uri="rabbitmq://localhost:5672/ex2?connectionFactory=#customConnectionFactory"/> + </route> </camelContext> ]]></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" 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">