activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes (JIRA)" <>
Subject [jira] Created: (AMQ-3157) Garbage collecting inactive destinations does not work with queue mirroring
Date Tue, 25 Jan 2011 20:27:44 GMT
Garbage collecting inactive destinations does not work with queue mirroring

                 Key: AMQ-3157
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.4.2
         Environment: Windows 2003 Server, Java JDK 1.6
            Reporter: Jim Gomes
            Priority: Minor
             Fix For: 5.5.0

When using the garbage collection feature of inactive queues, the queues are not collected
if queue mirroring is turned on.  The following snippet shows a basic configuration for reproducing
the problem:

<broker xmlns=""

            <mirroredQueue copyMessage="true" postfix="" prefix="Monitor."/>

                    <!-- Set auto-cleanup of inactive topics and queues -->
                    <policyEntry queue=">" producerFlowControl="true" memoryLimit="50mb"
gcInactiveDestinations="true" inactiveTimoutBeforeGC="30000">
                    <policyEntry topic=">" producerFlowControl="true" memoryLimit="50mb"
gcInactiveDestinations="true" inactiveTimoutBeforeGC="30000">
                            <vmCursor />

With this configuration, the topics will be collected, but the queues will not be collected.
 In order to get the queues to be collected, the {{<destinationInterceptors>}} section
needs to be commented out.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message