activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enrico <>
Subject Durable subscribers to VirtualTopic
Date Tue, 08 Oct 2013 01:54:32 GMT

I'm working with VirtualDestinations on top of activemq using stomp
protocol. In my application I would like to use durable subscribers directly
subscribed to the VirtualTopic and consumer subscribed to the correspondent
queues as well. I set the attribute offlineDurableSubscriberTimeout and
offlineDurableSubscriberTaskSchedule as shown below. This configuration
works well for topic but it doesn't work with VirtualTopic. 
This means that inactive durable topic subscriber is destroyed correctly. If
I start the subscriber again after the timeout, it will lose the messages
published during the inactivity period. 
In the VirtualTopic case, the activemq console prints the destroy message
but when the subscriber is activated again, it will receive all the messages
published during the inactivity period. This means that resources were not
actually released.
This is the activemq.xml section:
    <broker xmlns=""
brokerName="jarvis" useVirtualTopics="true" 
dataDirectory="${}" persistent="true"

          <virtualTopic name="VirtualTopic.>" prefix="Consumer.*."

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

View raw message