activemq-artemis/artemis-jms-server
Justin Bertram 0a7757b2cd ARTEMIS-2199 PagingStore leak when deleting queue
When deleting a queue the JMSPostQueueDeletionCallback#callback will
invoke PostOfficeImpl#getBindingsForAddress which will *create* a
Bindings instance if one doesn't exist. This will trigger the creation
of a PagingStore instance which will be stored by the PagingManager
and may never be deleted. This is particularly problematic for use-cases
involving temporary JMS queues.

This change uses the lookupBindingsForAddress instead of
getBindingsForAddress which doesn't implicitly create a Bindings
instance.

This problem doesn't exist on the master branch as the
JMSPostQueueDeletionCallback no longer exists there.
2018-12-10 14:45:22 -06:00
..
src/main ARTEMIS-2199 PagingStore leak when deleting queue 2018-12-10 14:45:22 -06:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-05-08 21:00:29 -04:00