[ 
https://issues.apache.org/jira/browse/ARTEMIS-2680?focusedWorklogId=410000&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-410000
 ]

ASF GitHub Bot logged work on ARTEMIS-2680:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Mar/20 00:55
            Start Date: 26/Mar/20 00:55
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on issue #3047: ARTEMIS-2680 use q 
name for addr if none specified via config
URL: https://github.com/apache/activemq-artemis/pull/3047#issuecomment-604166543
 
 
   JMS queues and JMS topics have always been modeled essentially the same way. 
Back in Artemis 1.x and in HornetQ we had a specific JMS management API and a 
specific core management API and even then in the core management API we would 
default the address name to the queue name if the address name was `null`. It 
wasn't a JMS thing. It was the chosen default behavior for core, and was even 
advertised [via 
JavaDoc](http://activemq.apache.org/components/artemis/documentation/javadocs/javadoc-1.5.3/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.html#deployQueue-java.lang.String-java.lang.String-java.lang.String-).
 I still think it's a reasonable behavior, and I also think changing it could 
potentially break existing users.
   
   It's also worth noting that the overloaded `createQueue` method which does 
this is the one that is always ultimately called. In other words, it doesn't 
matter which `createQueue` method you invoke, if you pass an effectively `null` 
address name then the queue name will be used.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 410000)
    Time Spent: 1h 20m  (was: 1h 10m)

> Use queue name for address if none specified via configuration
> --------------------------------------------------------------
>
>                 Key: ARTEMIS-2680
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2680
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Minor
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> If 
> {{org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl#createQueue()}}
>  is invoked with an effectively {{null}} address name then the queue name 
> will be used for the address. This is not true of queues created via 
> {{org.apache.activemq.artemis.core.config.CoreQueueConfiguration}}, but it 
> should be.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to