activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satheish <>
Subject Strange problem on Composite Destination
Date Tue, 24 Mar 2009 14:10:21 GMT

We are facing a strange problem with Active MQ.   As per the composite
destination setup, we configured JMS Message publisher to publish messages
on Topics & those messages would be forwarded to Queue for processing based
on the Message Selector . 
In the following example, JMS publisher will publish messages on
VirtualTopic.Tools.AlertTopic & if the Messageproperty value equals to
'Connection Refused' it would be forwarded to onsumerA.AlertQueue. 
There are some consumers listening both on Topic
(VirtualTopic.Tools.AlerTopic) and Queue (ConsumerA.AlertQueue).  

The current setup works fine for almost 1 week in production environment (It
works fine until the number of Messages in the Topic reaches approximately
close to One hundred thousand messages (100000).  After that, if any message
is published on the Topic listener waiting on it (Consumer) didn't get any
notification.  But, I could see the messages forward to the Queue & the
Consumer waiting on the Queue got the notification.
Once the broker is restarted this problem is resolved.  We couldn't find the
root cause of the issue.   Pls. let me know for any clues about the issue. 
Here I attached some configuration (ActiveMQ.XML) on that topic & system
memory usage.
<virtualTopic name="VirtualTopic.Tools.>" />
<compositeTopic name="VirtualTopic.Tools.AlertTopic" forwardOnly="true">
<filteredDestination selector="Message = 'Connection Refused'"
queue="ConsumerA.AlertQueue" />

                    <policyEntry queue=">" memoryLimit="5mb"/>
                    <policyEntry topic=">" memoryLimit="5mb">

<!--  The maximum about of space the broker will use before slowing down
producers -->
                    <memoryUsage limit="20 mb"/>
                    <storeUsage limit="1 gb" name="foo"/>
                    <tempUsage limit="100 mb"/>

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

View raw message