Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-9382

Setting up ActiveMQArtemisAddress through BrokerProperties is unintuitive.

XMLWordPrintable

    • False
    • None
    • False

      Supposed way:

      "addressConfigurations.myaddress.routingTypes=ANYCAST",			"addressConfigurations.myaddress.queueConfigs.myqueue.address=myaddress"			"addressConfigurations.myaddress.queueConfigs.myqueue.routingType=ANYCAST",
      

      This configuration is counter-intuitive and has same information reiterated multiple times:
      1. myaddress is a part of the key
      2. it is explicitly defined to be an address for queue named myqueue.

      What I came up with originally - and what is the reason for this bug existance is this:

          - addressConfigurations.exampleTopic.queueConfigs.queuewithfilter.routingType=ANYCAST
      

      this configuration on first glance translates to "I want an address called exampleTopic with queue named queuewithfilter which has routingType ANYCAST".
      This is not what it actually creates. Instead, it creates an address named `exampleTopic` and a second address named `queuewithfilter`. Second address gets a queue named `queuewithfilter` as well.

      This configuration's result makes no sense and is counter-intuitive.

      Creating this for discussion purposes first.

              gtully@redhat.com Gary Tully
              mkrutov Mikhail Krutov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: