Interface ActiveMQServerAddressPlugin

All Superinterfaces:
ActiveMQServerBasePlugin
All Known Subinterfaces:
ActiveMQServerPlugin

public interface ActiveMQServerAddressPlugin extends ActiveMQServerBasePlugin
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    afterAddAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo, boolean reload)
    After an address has been added tot he broker
    default void
    afterRemoveAddress(org.apache.activemq.artemis.api.core.SimpleString address, org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo)
    After an address has been removed
    default void
    afterUpdateAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo)
    After an address has been updated
    default void
    beforeAddAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo, boolean reload)
    Before an address is added tot he broker
    default void
    beforeRemoveAddress(org.apache.activemq.artemis.api.core.SimpleString address)
    Before an address is removed
    default void
    beforeUpdateAddress(org.apache.activemq.artemis.api.core.SimpleString address, EnumSet<org.apache.activemq.artemis.api.core.RoutingType> routingTypes)
    Before an address is updated

    Methods inherited from interface ActiveMQServerBasePlugin

    init, registered, setInit, unregistered
  • Method Details

    • beforeAddAddress

      default void beforeAddAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo, boolean reload) throws org.apache.activemq.artemis.api.core.ActiveMQException
      Before an address is added tot he broker
      Parameters:
      addressInfo - The addressInfo that will be added
      reload - If the address is being reloaded
      Throws:
      org.apache.activemq.artemis.api.core.ActiveMQException
    • afterAddAddress

      default void afterAddAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo, boolean reload) throws org.apache.activemq.artemis.api.core.ActiveMQException
      After an address has been added tot he broker
      Parameters:
      addressInfo - The newly added address
      reload - If the address is being reloaded
      Throws:
      org.apache.activemq.artemis.api.core.ActiveMQException
    • beforeUpdateAddress

      default void beforeUpdateAddress(org.apache.activemq.artemis.api.core.SimpleString address, EnumSet<org.apache.activemq.artemis.api.core.RoutingType> routingTypes) throws org.apache.activemq.artemis.api.core.ActiveMQException
      Before an address is updated
      Parameters:
      address - The existing address info that is about to be updated
      routingTypes - The new routing types that the address will be updated with
      Throws:
      org.apache.activemq.artemis.api.core.ActiveMQException
    • afterUpdateAddress

      default void afterUpdateAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo) throws org.apache.activemq.artemis.api.core.ActiveMQException
      After an address has been updated
      Parameters:
      addressInfo - The newly updated address info
      Throws:
      org.apache.activemq.artemis.api.core.ActiveMQException
    • beforeRemoveAddress

      default void beforeRemoveAddress(org.apache.activemq.artemis.api.core.SimpleString address) throws org.apache.activemq.artemis.api.core.ActiveMQException
      Before an address is removed
      Parameters:
      address - The address that will be removed
      Throws:
      org.apache.activemq.artemis.api.core.ActiveMQException
    • afterRemoveAddress

      default void afterRemoveAddress(org.apache.activemq.artemis.api.core.SimpleString address, org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo) throws org.apache.activemq.artemis.api.core.ActiveMQException
      After an address has been removed
      Parameters:
      address - The address that has been removed
      addressInfo - The address info that has been removed or null if not removed
      Throws:
      org.apache.activemq.artemis.api.core.ActiveMQException