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

Artemis ServerPlugin support for Broker state change

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Add support to plugins to hook into broker state change.

      Ideally, this would allow brokers to know if they are running as a master or slave at startup and provide signaling for when that state changes

      5.x tree API had separate operations, perhaps a single method would make more sense and allow for any potential future changes?

      brokerStateChange(... )
      MASTER_BROKER, SLAVE_BROKER, REPLICATION STARTED/COMPLETED, GRACEFUL_SHUTDOWN, SCALE UP, SCALE DOWN, etc

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mattrpav Matt Pavlovich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: