Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-5915

Support a Java API for the RuntimeConfigurationPlugin

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.13.0
    • Component/s: Broker
    • Labels:
      None

      Description

      Currently the RuntimeConfigurationPlugin supports modifying some parts of the broker at runtime by changing the xml configuration so the broker doesn't need to be restarted to pick up the changes.

      However, there are 2 issues with this approach. First, in my situation I do not always use xml to configure the broker. Many times a broker will be configured using Java (configuring a BrokerService directly) and I will store the configuration in a different way to manage this. Second, I don't always want to permanently change the configuration. Sometimes I need to temporarily create a new virtual destination for dynamic data flows but don't necessarily need to persist it in between restarts.

      Because of this, it would be useful in some cases to be able to make changes to the broker configuration using a Java API to programmatically do things such as modifying the virtual destinations.

      These changes would be temporary in nature as they wouldn't be persisted as they would be if xml was used. However, if these changes need to be persisted the user could simply use xml to configure the broker or be responsible for storing this information however they want to recover after a restart of the broker.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cshannon Christopher L. Shannon
                Reporter:
                cshannon Christopher L. Shannon
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: