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


With regards,
Apache Git Services

Reply via email to