Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4260

address-setting with wildcard not inherited by actual address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • 2.28.0
    • None
    • Broker
    • None

    Description

      In my broker.xml I got

      <address-setting match="IMP#">
          <dead-letter-address>IMP.DLQ</dead-letter-address>
          <expiry-address>IMP.ExpiryQueue</expiry-address>
      </address-setting>
      <addresses>
          <address name="IMP_MISC">
          <anycast>
              <queue name="IMP_MISC" />
          </anycast>
          </address>
      </addresses>
      

      According to what I read in docs and examples, all adresses starting with

      IMP

      should inherit the DLQ and Expiry adresses from the address-setting.

      Yet, when starting Artemis it logs

      2023-04-26 16:05:59,810 WARN  [org.apache.activemq.artemis.core.server] AMQ222165: No Dead Letter Address configured for queue IMP_MISC in AddressSettings
      2023-04-26 16:05:59,811 WARN  [org.apache.activemq.artemis.core.server] AMQ222166: No Expiry Address configured for queue IMP_MISC in AddressSettings 

      I am currently fighting my way through the code, looking for the place where the actual merging happens, but no luck so far.

      Maybe in a first step, someone can give me a pointer where to look (and maybe how to log)?
      And is there a way to see the actual configuration of an address once Artemis is up and running? Didn't find anything in the Web-Console.

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              2020-11-12 arne anka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: