Interface ActiveMQServerAddressPlugin
-
- All Superinterfaces:
ActiveMQServerBasePlugin
- All Known Subinterfaces:
ActiveMQServerPlugin
- All Known Implementing Classes:
BrokerMessageAuthorizationPlugin,FederatedAddress,LoggingActiveMQServerPlugin,NotificationActiveMQServerPlugin
public interface ActiveMQServerAddressPlugin extends ActiveMQServerBasePlugin
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidafterAddAddress(AddressInfo addressInfo, boolean reload)After an address has been added tot he brokerdefault voidafterRemoveAddress(SimpleString address, AddressInfo addressInfo)After an address has been removeddefault voidafterUpdateAddress(AddressInfo addressInfo)After an address has been updateddefault voidbeforeAddAddress(AddressInfo addressInfo, boolean reload)Before an address is added tot he brokerdefault voidbeforeRemoveAddress(SimpleString address)Before an address is removeddefault voidbeforeUpdateAddress(SimpleString address, EnumSet<RoutingType> routingTypes)Before an address is updated-
Methods inherited from interface org.apache.activemq.artemis.core.server.plugin.ActiveMQServerBasePlugin
init, registered, unregistered
-
-
-
-
Method Detail
-
beforeAddAddress
default void beforeAddAddress(AddressInfo addressInfo, boolean reload) throws ActiveMQException
Before an address is added tot he broker- Parameters:
addressInfo- The addressInfo that will be addedreload- If the address is being reloaded- Throws:
ActiveMQException
-
afterAddAddress
default void afterAddAddress(AddressInfo addressInfo, boolean reload) throws ActiveMQException
After an address has been added tot he broker- Parameters:
addressInfo- The newly added addressreload- If the address is being reloaded- Throws:
ActiveMQException
-
beforeUpdateAddress
default void beforeUpdateAddress(SimpleString address, EnumSet<RoutingType> routingTypes) throws ActiveMQException
Before an address is updated- Parameters:
address- The existing address info that is about to be updatedroutingTypes- The new routing types that the address will be updated with- Throws:
ActiveMQException
-
afterUpdateAddress
default void afterUpdateAddress(AddressInfo addressInfo) throws ActiveMQException
After an address has been updated- Parameters:
addressInfo- The newly updated address info- Throws:
ActiveMQException
-
beforeRemoveAddress
default void beforeRemoveAddress(SimpleString address) throws ActiveMQException
Before an address is removed- Parameters:
address- The address that will be removed- Throws:
ActiveMQException
-
afterRemoveAddress
default void afterRemoveAddress(SimpleString address, AddressInfo addressInfo) throws ActiveMQException
After an address has been removed- Parameters:
address- The address that has been removedaddressInfo- The address info that has been removed or null if not removed- Throws:
ActiveMQException
-
-