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

ASF GitHub Bot commented on ARTEMIS-1951:
-----------------------------------------

Github user michaelandrepearce commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2156#discussion_r197792644
  
    --- Diff: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
 ---
    @@ -511,6 +512,10 @@ public QueueBinding updateQueue(SimpleString name,
                 changed = true;
                 queue.setExclusive(exclusive);
              }
    +         if ((user != null && !user.equals(queue.getUser()) || (user == 
null && queue.getUser() != null))) {
    +            changed = true;
    +            queue.setUser(SimpleString.toSimpleString(user));
    --- End diff --
    
    @jbertram ive sent a PR to address this 
https://github.com/apache/activemq-artemis/pull/2161


> Queue's user can't be updated
> -----------------------------
>
>                 Key: ARTEMIS-1951
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1951
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>             Fix For: 2.7.0
>
>
> ARTEMIS-1569 added the ability to specify the queue's user via XML.  However, 
> the user set on the XML when the queue is first created can never be changed 
> later.



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

Reply via email to