activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Strange behavior with VirtualTopic and loadbalancing
Date Tue, 01 Jun 2010 11:16:17 GMT

Hi,

I have configured an ActiveMq server 5.3.2 to use VirtualTopic :

       <!-- Virtual topics --> 
       <destinationInterceptors>
	      <virtualDestinationInterceptor>
	        <virtualDestinations>
	          <virtualTopic name=">" />
	        </virtualDestinations>
	      </virtualDestinationInterceptor>
       </destinationInterceptors>

I have two consumers connected to the following queues :

Consumer.A.VirtualTopic.Orders
Consumer.B.VirtualTopic.Orders

and I produce the messages like that 

ant producer -Dsubject="VirtualTopic.Orders" -Dtopic="true" -Ddurable=true
-Dmax=200

When I look to the messages received by ConsumerA and ConsumerB, they
receive both all the messages.

Question : Is it a normal behavior or should I do something else to
loadbalance messages between consumers where messages are published in a
VirtualTopic ?

KR,




-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://old.nabble.com/Strange-behavior-with-VirtualTopic-and-loadbalancing-tp28740437p28740437.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message