activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r426097 - /incubator/activemq/site/virtual-destinations.html
Date Thu, 27 Jul 2006 15:10:03 GMT
Author: chirino
Date: Thu Jul 27 08:10:02 2006
New Revision: 426097

Latest export from confluence


Modified: incubator/activemq/site/virtual-destinations.html
--- incubator/activemq/site/virtual-destinations.html (original)
+++ incubator/activemq/site/virtual-destinations.html Thu Jul 27 08:10:02 2006
@@ -304,6 +304,30 @@
 <P>We can now have a pool of consumers for each system which then compete for messages
for systems A or B such that all the messages for system A are processed exactly once and
similarly for system B.</P>
+<H3><A name="VirtualDestinations-Customizingtheoutoftheboxdefaults"></A>Customizing
the out of the box defaults</H3>
+<P>The out of the box defaults are described above. Namely that the only virtual topics
available must be within the <B>VirtualTopics.&gt;</B> nsmespace and that
the consume queues are named <B>Consumer.</B>.VirtualTopics.&gt;*.</P>
+<P>You can configure this to use whatever naming convention you wish. The following
<SPAN class="nobr"><A href=""
title="Visit page outside Confluence" rel="nofollow">example<SUP><IMG class="rendericon"
src="" height="0" width="0" align="absmiddle"
alt="" border="0"></SUP></A></SPAN> shows how to make all topics virtual
topics. Note that making a topic virtual does add a small CPU overhead when sending messages
to the topic but it is fairly small.</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;beans&gt;</SPAN>
+  <SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;broker xmlns=<SPAN class="code-quote">&quot;;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;destinationInterceptors&gt;</SPAN>
+      <SPAN class="code-tag">&lt;virtualDestinationInterceptor&gt;</SPAN>
+        <SPAN class="code-tag">&lt;virtualDestinations&gt;</SPAN>
+          <SPAN class="code-tag">&lt;virtualTopic name=<SPAN class="code-quote">&quot;&gt;</SPAN>&quot;</SPAN>
prefix=<SPAN class="code-quote">&quot;VirtualTopicConsumers.*.&quot;</SPAN>/&gt;
+        <SPAN class="code-tag">&lt;/virtualDestinations&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/virtualDestinationInterceptor&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/destinationInterceptors&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/broker&gt;</SPAN>
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
@@ -315,7 +339,7 @@
     <DIV id="site-footer">
           Added by     <A href="">James
     last edited by     <A href="">James
Strachan</A> on Jul 27, 2006
-                  &nbsp;(<A href="">view
+                  &nbsp;(<A href="">view
       (<A href="">edit

View raw message