You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/03/25 12:58:50 UTC

[GitHub] [activemq-artemis] jbertram commented on a change in pull request #3047: ARTEMIS-2680 use q name for addr if none specified via config

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:
users@infra.apache.org


With regards,
Apache Git Services