You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2018/06/21 13:14:00 UTC

[jira] [Comment Edited] (ARTEMIS-1569) Add 'user' attribute to queue in XML/JMX

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

Justin Bertram edited comment on ARTEMIS-1569 at 6/21/18 1:13 PM:
------------------------------------------------------------------

I don't think your configuration is correct per the XSD.  The {{user}} is an _element_ of {{queue}} rather than an attribute so the XML should be like this:

{code:xml}
         <address name="ExpiryQueue2">
            <anycast>
               <queue name="ExpiryQueue2">
                  <user>admin</user>
               </queue>
            </anycast>
        </address>

         <address name="EQueue">
            <anycast>
               <queue name="EQueue">
                  <user>bob</user>
               </queue>
            </anycast>
         </address>
{code}


was (Author: jbertram):
I don't think your configuration is correct per the XSD.  The {{user}} is an _element_ of {{queue}} rather than an attribute so the XML should be like this:

{code:xml}
         <address name="ExpiryQueue2">
            <anycast>
               <queue name="ExpiryQueue2">
                  <user>admin</user>
               </queue>
            </anycast>
        </address>

         <address name="EQueue">
            <anycast>
               <queue name="EQueue">
                  <user>bob</user>
               </queue>
            </anycast>
         </address>

> Add 'user' attribute to queue in XML/JMX
> ----------------------------------------
>
>                 Key: ARTEMIS-1569
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1569
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Michael Andre Pearce
>            Assignee: Michael Andre Pearce
>            Priority: Major
>             Fix For: 2.5.0
>
>
> Currently a queue is tagged with the user who created it, if it is created over the wire.
> This leaves out keeping audit of the user who may have created if declared in broker.xml, as such should be possible to tag a queue with a user that would be associated with creation.
> Also whilst this is exposed over the bespoke views for the console (new panels), the attribute isn't exposed over JMX and is useful to capture.
> This JIRA is to implement both the ability to add a user tag to broker.xml to associate the creator user, and like wise simply expose the extra attribute in QueueControl JMX.



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