activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r860498 - in /websites/production/activemq/content: cache/main.pageCache per-destination-policies.html
Date Wed, 01 May 2013 16:21:39 GMT
Author: buildbot
Date: Wed May  1 16:21:38 2013
New Revision: 860498

Log:
Production update by buildbot for activemq

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

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

Modified: websites/production/activemq/content/per-destination-policies.html
==============================================================================
--- websites/production/activemq/content/per-destination-policies.html (original)
+++ websites/production/activemq/content/per-destination-policies.html Wed May  1 16:21:38
2013
@@ -105,9 +105,67 @@
 <ul><li><a shape="rect" href="dispatch-policies.html" title="Dispatch Policies">Dispatch
Policies</a></li></ul>
 
 
-<p>Here is an <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml">example</a>
of this in use.</p>
+<p>Here is an <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml">example</a>
of this in use.</p>
 
-<div class="error"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException:
Index: 20, Size: 20</span> </div>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">&lt;beans 
+  xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>

+  <span class="code-keyword">xmlns:amq</span>=<span class="code-quote">"http://activemq.apache.org/schema/core"</span>
+  <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
+  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+  http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"&gt;
+
+  <span class="code-tag">&lt;bean class=<span class="code-quote">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span>/&gt;</span>
+
+  <span class="code-tag">&lt;broker persistent=<span class="code-quote">"false"</span>
brokerName=<span class="code-quote">"${brokername}"</span> xmlns=<span class="code-quote">"http://activemq.apache.org/schema/core"</span>&gt;</span>
+
+    <span class="code-tag"><span class="code-comment">&lt;!--  lets define
the dispatch policy --&gt;</span></span>
+    <span class="code-tag">&lt;destinationPolicy&gt;</span>
+      <span class="code-tag">&lt;policyMap&gt;</span>
+        <span class="code-tag">&lt;policyEntries&gt;</span>
+          <span class="code-tag">&lt;policyEntry topic=<span class="code-quote">"FOO.&gt;</span>"</span>&gt;
+            <span class="code-tag">&lt;dispatchPolicy&gt;</span>
+              <span class="code-tag">&lt;roundRobinDispatchPolicy /&gt;</span>
+            <span class="code-tag">&lt;/dispatchPolicy&gt;</span>
+            <span class="code-tag">&lt;subscriptionRecoveryPolicy&gt;</span>
+              <span class="code-tag">&lt;lastImageSubscriptionRecoveryPolicy /&gt;</span>
+            <span class="code-tag">&lt;/subscriptionRecoveryPolicy&gt;</span>
+          <span class="code-tag">&lt;/policyEntry&gt;</span>
+
+          <span class="code-tag">&lt;policyEntry topic=<span class="code-quote">"ORDERS.&gt;</span>"</span>&gt;
+            <span class="code-tag">&lt;dispatchPolicy&gt;</span>
+              <span class="code-tag">&lt;strictOrderDispatchPolicy /&gt;</span>
+            <span class="code-tag">&lt;/dispatchPolicy&gt;</span>
+            <span class="code-tag"><span class="code-comment">&lt;!--  1
minutes worth --&gt;</span></span>
+            <span class="code-tag">&lt;subscriptionRecoveryPolicy&gt;</span>
+              <span class="code-tag">&lt;timedSubscriptionRecoveryPolicy recoverDuration=<span
class="code-quote">"60000"</span> /&gt;</span>
+            <span class="code-tag">&lt;/subscriptionRecoveryPolicy&gt;</span>
+          <span class="code-tag">&lt;/policyEntry&gt;</span>
+
+          <span class="code-tag">&lt;policyEntry topic=<span class="code-quote">"PRICES.&gt;</span>"</span>&gt;
+
+            <span class="code-tag"><span class="code-comment">&lt;!-- lets
force old messages to be discarded for slow consumers --&gt;</span></span>
+            <span class="code-tag">&lt;pendingMessageLimitStrategy&gt;</span>
+              <span class="code-tag">&lt;constantPendingMessageLimitStrategy limit=<span
class="code-quote">"10"</span>/&gt;</span>
+            <span class="code-tag">&lt;/pendingMessageLimitStrategy&gt;</span>
+
+            <span class="code-tag"><span class="code-comment">&lt;!--  10
seconds worth --&gt;</span></span>
+            <span class="code-tag">&lt;subscriptionRecoveryPolicy&gt;</span>
+              <span class="code-tag">&lt;timedSubscriptionRecoveryPolicy recoverDuration=<span
class="code-quote">"10000"</span> /&gt;</span>
+            <span class="code-tag">&lt;/subscriptionRecoveryPolicy&gt;</span>
+            
+          <span class="code-tag">&lt;/policyEntry&gt;</span>
+          <span class="code-tag">&lt;policyEntry tempTopic=<span class="code-quote">"true"</span>
advisoryForConsumed=<span class="code-quote">"true"</span> /&gt;</span>
+
+          <span class="code-tag">&lt;policyEntry tempQueue=<span class="code-quote">"true"</span>
advisoryForConsumed=<span class="code-quote">"true"</span> /&gt;</span>
+        <span class="code-tag">&lt;/policyEntries&gt;</span>
+      <span class="code-tag">&lt;/policyMap&gt;</span>
+    <span class="code-tag">&lt;/destinationPolicy&gt;</span>
+  <span class="code-tag">&lt;/broker&gt;</span>
+
+<span class="code-tag">&lt;/beans&gt;</span>
+</pre>
+</div></div>
           </div>
         </td>
         <td valign="top">



Mime
View raw message