How "gcInactiveDestinations" works with ActiveMQ ?
Issue
- I have enabled
gcInactiveDestinationslike :
<broker xmlns="http://activemq.apache.org/schema/core"
brokerName="${broker-name}" dataDirectory="${data}" start="false"
restartAllowed="false" schedulePeriodForDestinationPurge="10000">
<destinations>
<queue physicalName="FOO.BAR" />
<topic physicalName="SOME.TOPIC" />
</destinations>
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb" gcInactiveDestinations="true" inactiveTimoutBeforeGC="30000"/>
</policyEntries>
</policyMap>
</destinationPolicy>
- Will it delete only inactive empty queues or delete inactive queues with messages ?
Environment
- Red Hat JBoss A-MQ
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
