You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/07/27 17:10:03 UTC
svn commit: r426097 - /incubator/activemq/site/virtual-destinations.html
Author: chirino
Date: Thu Jul 27 08:10:02 2006
New Revision: 426097
URL: http://svn.apache.org/viewvc?rev=426097&view=rev
Log:
Latest export from confluence
Modified:
incubator/activemq/site/virtual-destinations.html
Modified: incubator/activemq/site/virtual-destinations.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/virtual-destinations.html?rev=426097&r1=426096&r2=426097&view=diff
==============================================================================
--- 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.></B> nsmespace and that the consume queues are named <B>Consumer.</B>.VirtualTopics.>*.</P>
+
+<P>You can configure this to use whatever naming convention you wish. The following <SPAN class="nobr"><A href="https://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/virtual/global-virtual-topics.xml" title="Visit page outside Confluence" rel="nofollow">example<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" 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"><beans></SPAN>
+
+ <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</SPAN>/></SPAN>
+
+ <SPAN class="code-tag"><broker xmlns=<SPAN class="code-quote">"http://activemq.org/config/1.0"</SPAN>></SPAN>
+ <SPAN class="code-tag"><destinationInterceptors></SPAN>
+ <SPAN class="code-tag"><virtualDestinationInterceptor></SPAN>
+ <SPAN class="code-tag"><virtualDestinations></SPAN>
+ <SPAN class="code-tag"><virtualTopic name=<SPAN class="code-quote">"></SPAN>"</SPAN> prefix=<SPAN class="code-quote">"VirtualTopicConsumers.*."</SPAN>/>
+ <SPAN class="code-tag"></virtualDestinations></SPAN>
+ <SPAN class="code-tag"></virtualDestinationInterceptor></SPAN>
+ <SPAN class="code-tag"></destinationInterceptors></SPAN>
+
+ <SPAN class="code-tag"></broker></SPAN>
+
+<SPAN class="code-tag"></beans></SPAN></PRE>
+</DIV></DIV>
</DIV>
</DIV>
@@ -315,7 +339,7 @@
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Jul 27, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=9061&originalId=9284">view change</A>)
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=9061&originalId=9293">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=9061">edit page</A>)
</DIV>