jbertram commented on a change in pull request #3047: ARTEMIS-2680 use q name 
for addr if none specified via config
URL: https://github.com/apache/activemq-artemis/pull/3047#discussion_r397832801
 
 

 ##########
 File path: 
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ConfigurationTest.java
 ##########
 @@ -47,6 +49,22 @@ public void testStartWithDuplicateQueues() throws Exception 
{
       }
    }
 
+   @Test
+   public void testQueueWithoutAddressName() throws Exception {
+      final SimpleString QUEUE_NAME = RandomUtil.randomSimpleString();
+      ActiveMQServer server = createServer(false, createDefaultInVMConfig());
+      try {
+         server.getConfiguration().addQueueConfiguration(new 
CoreQueueConfiguration().setName(QUEUE_NAME.toString()));
 
 Review comment:
   I don't think this would be possible via the XML. It's only possible by 
using the `CoreQueueConfiguration` object directly.

----------------------------------------------------------------
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