activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r996972 - in /websites/production/activemq/content: cache/main.pageCache destination-options.html
Date Thu, 08 Sep 2016 18:22:11 GMT
Author: buildbot
Date: Thu Sep  8 18:22:10 2016
New Revision: 996972

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/destination-options.html

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

Modified: websites/production/activemq/content/destination-options.html
==============================================================================
--- websites/production/activemq/content/destination-options.html (original)
+++ websites/production/activemq/content/destination-options.html Thu Sep  8 18:22:10 2016
@@ -81,7 +81,7 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h3 id="DestinationOptions-Background">Background</h3><p>Destination
Options are a way to provide extended configuration options to a JMS consumer without having
to extend the JMS API. The options are encoded using URL query syntax in the destination name
that the consumer is created on.</p><h3 id="DestinationOptions-ConsumerOptions">Consumer
Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Option 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>consumer.prefetchSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>n/a</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of message the consumer
will <a shape="rect" href="what-is-the-prefetch-li
 mit-for.html">prefetch</a>.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>consumer.maximumPendingMessageLimit</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Use to control if messages for non-durable
topics are dropped if a <a shape="rect" href="slow-consumer-handling.html">slow consumer</a>
situation exists.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.noLocal</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Same as the&#160;<strong><code>noLocal</code></strong>
flag on a Topic consumer. Exposed here so that it can be used with a queue.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.dispatchAsync</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><t
 d colspan="1" rowspan="1" class="confluenceTd"><p>Should the broker <a shape="rect"
href="consumer-dispatch-async.html">dispatch messages asynchronously</a> to the consumer.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.retroactive</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Is this a <a shape="rect" href="retroactive-consumer.html">Retroactive
Consumer</a>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.selector</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>JMS Selector used with the consumer.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.exclusive</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class
 ="confluenceTd"><p>Is this an <a shape="rect" href="exclusive-consumer.html">Exclusive
Consumer</a>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.priority</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to configure a <a shape="rect"
href="consumer-priority.html">Consumer Priority</a>.</p></td></tr></tbody></table></div><h3
id="DestinationOptions-Example">Example</h3><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h3 id="DestinationOptions-Background">Background</h3><p>Destination
Options are a way to provide extended configuration options to a JMS consumer without having
to extend the JMS API. The options are encoded using URL query syntax in the destination name
that the consumer is created on.</p><h3 id="DestinationOptions-ConsumerOptions">Consumer
Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Option 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>consumer.dispatchAsync</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Should the broker <a shape="rect"
href="consumer-dispatch-async.html">dispatch mess
 ages asynchronously</a> to the consumer.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.exclusive</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Is this an <a shape="rect" href="exclusive-consumer.html">Exclusive
Consumer</a>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.maximumPendingMessageLimit</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Use to control if messages for non-durable
topics are dropped if a <a shape="rect" href="slow-consumer-handling.html">slow consumer</a>
situation exists.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.noLocal</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="conflu
 enceTd"><p>Same as the&#160;<strong><code>noLocal</code></strong>
flag on a Topic consumer. Exposed here so that it can be used with a queue.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.prefetchSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>n/a</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of message the consumer
will <a shape="rect" href="what-is-the-prefetch-limit-for.html">prefetch</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.priority</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to configure a <a shape="rect"
href="consumer-priority.html">Consumer Priority</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.retroactive</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>fa
 lse</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Is
this a <a shape="rect" href="retroactive-consumer.html">Retroactive Consumer</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>consumer.selector</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>JMS Selector used with the consumer.</p></td></tr></tbody></table></div><h3
id="DestinationOptions-Example">Example</h3><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">queue
= new ActiveMQQueue("TEST.QUEUE?consumer.dispatchAsync=false&amp;consumer.prefetchSize=10");
 consumer = session.createConsumer(queue);
 </pre>



Mime
View raw message