activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen123 <>
Subject Re: Messages are sent to all Queues instead of specific queues in Virtual Topic
Date Wed, 11 Jul 2012 17:39:51 GMT
Hi Jakub,

Thanks for your suggestion.

I tried that out but still the problem exists.

in the activemq.xml file , i have provided the entries for composite topic
which is actually a virtual topic say VirtualTopic.A and then i defined the
physical queues also in the destinations element in the same activemq.xml
like Consumer.A.VirtualTopic.A.

I have then restarted the server.But once i send 4 messages to the topic and
listening the queue using the Spring's SimpleMessageListenerContainer, in
the queue's tab in Admin Console, it shows messages enqueued as 4 but it
should be 2 if it has filtered at server side. The messages dequeued and the
no of pending messages is coming as 2.

So it seems like the filtering is not taking place at the destination level
but it is taking place at the listener or consumer level.
please help me understand why the Queue's tab is showing differently?

Thanks ,

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message