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

Modular broker.xml does not refresh addresses dynamically

XMLWordPrintable

    • Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
    • Hide

      Following https://access.redhat.com/documentation/en-us/red_hat_amq/7.2/html/using_amq_broker/basic_configuration#modularizing_the_broker_configuration_file.

      1. Create a Broker using artemis create command.
      2. Copy addresses tag from the broker.xml to an external file, e.g. /opt/amq/addresses.xml.
      3. Optionally, add a queue, this can also be done from the artemis create command.
      4. Substitute the addresses tag with <xi:include href="/opt/amq/addresses.xml"/> in the broker.xml.
      5. Run the broker.
      6. Add an address to the addresses.xml file without restarting the broker and save changes.
      7. The address is not created.
      8. After restarting the broker the address is created.

      Show
      Following https://access.redhat.com/documentation/en-us/red_hat_amq/7.2/html/using_amq_broker/basic_configuration#modularizing_the_broker_configuration_file . 1. Create a Broker using artemis create command. 2. Copy addresses tag from the broker.xml to an external file, e.g. /opt/amq/addresses.xml. 3. Optionally, add a queue, this can also be done from the artemis create command. 4. Substitute the addresses tag with <xi:include href="/opt/amq/addresses.xml"/> in the broker.xml. 5. Run the broker. 6. Add an address to the addresses.xml file without restarting the broker and save changes. 7. The address is not created. 8. After restarting the broker the address is created.

      Modularizing the broker does not update addresses inclusion without restarting.

      It is interesting to centralize addresses configuration across a broker cluster or different broker environments.

      https://access.redhat.com/documentation/en-us/red_hat_amq/7.2/html/using_amq_broker/basic_configuration#modularizing_the_broker_configuration_file

      Quoting the documentation.

      "The broker reloads configuration updates based on the frequency set in the configuration-file-refresh-period setting in the broker.xml file. For more information, see Reloading Configuration Updates".
      

              jcliffor@redhat.com John Clifford
              fran@redhat.com Francisco Rodriguez Rocha (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: