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

Address setting matches with wildcard are not idempotent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.32.0
    • None
    • None

    Description

      When addresses match different multiple address settings with the same most specific address setting the overlay is not idempotent, i.e. supposing to define the following address settings:

      addressSettings."foo.*".maxRedeliveryDelay=10000
      addressSettings."foo.0.#".maxExpiryDelay=20000
      addressSettings."foo.1.#".maxExpiryDelay=30000
      

      Every address matching foo.* have maxExpiryDelay=-1 if it is created before foo.0 and it have maxExpiryDelay=20000 if it is created after foo.0.
      Every address matching foo.* have maxExpiryDelay=-1 if it is created before foo.1 and it have maxExpiryDelay=30000 if it is created after foo.1.
      The addresses foo.0 and foo.1 have maxExpiryDelay=20000 if foo.0 is created before foo.1.
      The addresses foo.0 and foo.1 have maxExpiryDelay=30000 if foo.1 is created before foo.0.

      Attachments

        Issue Links

          Activity

            People

              brusdev Domenico Francesco Bruscino
              brusdev Domenico Francesco Bruscino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m