Hello, I am getting my address setting below by calling getAddressSettingsAsJSON using management API :
"CRON_JOB_QUEUE.#" : { "addressFullMessagePolicy" : "PAGE", "maxSizeBytes" : -1.0, "maxReadPageBytes" : 2.097152E7, "maxReadPageMessages" : -1.0, "pageLimitBytes" : -1.0, "pageLimitMessages" : -1.0, "maxSizeMessages" : -1.0, "pageSizeBytes" : 1.048576E7, "messageCounterHistoryDayLimit" : 10.0, "redeliveryDelay" : 0.0, "deadLetterAddress" : "DLQ", "expiryAddress" : "ExpiryQueue", "redistributionDelay" : 60000.0, "slowConsumerThresholdMeasurementUnit" : "MESSAGES_PER_SECOND", "autoCreateJmsQueues" : true, "autoCreateJmsTopics" : true, "autoCreateQueues" : true, "autoDeleteQueues" : true, "autoDeleteCreatedQueues" : true, "autoDeleteQueuesDelay" : 300000.0, "autoDeleteQueuesMessageCount" : 0.0, "autoCreateAddresses" : true, "autoDeleteAddresses" : true, "managementBrowsePageSize" : 200.0, "defaultConsumerWindowSize" : 0.0 } Per this setting, queues with no consumer and no message should be auto deleted after 5 min. However I still have a lot of queues with addresses matching the settings above without any messages and consumers in the broker for much more than 5 min. Although there is no consumer connected to those queues, every 90 sec there is a request to management API (ManagementHelper.putOperationInvocation(message, queueName, "countMessages", "");) to get the message count of those queues. Could this be the reason for those queues/addresses not being deleted? Thank you Thai Le