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.

Reply via email to