[ 
https://issues.apache.org/jira/browse/ARTEMIS-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611146#comment-16611146
 ] 

ASF subversion and git services commented on ARTEMIS-2081:
----------------------------------------------------------

Commit c417d0b5f8ac67b1c9bde67cd6d6300d4194e2f8 in activemq-artemis's branch 
refs/heads/master from [~teaandcoffee]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=c417d0b ]

ARTEMIS-2081 listConfiguredQueues returns only queues created by config

Extend test case to reproduce problem of client created queues being 
incorrectly removed on simple reload of config.
Add a flag/field to the queues created by configuration/broker.xml so we can 
correctly filter only queues created/managed by config.
Update listConfiguredQueues to use the new queue flag

> When config reload occurs with deletion policy enabled, queues not created by 
> broker xml are removed
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2081
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2081
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Michael Andre Pearce
>            Priority: Major
>
> This is related to feature https://issues.apache.org/jira/browse/ARTEMIS-1235
> listConfiguredQueues was meant to return queues which are managed by broker 
> xml, the intent is where a queue was created by a client (e.g. you configure 
> durable queues, but allow clients to make non-durable queues still) on reload 
> where the address exists, but the queue is not present, it would only remove 
> queues that are being managed by broker.xml
> unfortunately this is not returning only queues that are created/managed by 
> broker.xml, meaning on broker reload and the address is present, queues 
> created by clients get un-expectedly removed.
> We need to track/mark queues explicitly that are created by configuration 
> (broker.xml) and update the filter to use this new flag, to ensure only those 
> are touched.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to