Interface ActiveMQServerBindingPlugin
-
- All Superinterfaces:
ActiveMQServerBasePlugin
- All Known Subinterfaces:
ActiveMQServerPlugin
public interface ActiveMQServerBindingPlugin extends ActiveMQServerBasePlugin
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidafterAddBinding(org.apache.activemq.artemis.core.postoffice.Binding binding)After a binding has been addeddefault voidafterRemoveBinding(org.apache.activemq.artemis.core.postoffice.Binding binding, org.apache.activemq.artemis.core.transaction.Transaction tx, boolean deleteData)After a binding is removeddefault voidbeforeAddBinding(org.apache.activemq.artemis.core.postoffice.Binding binding)Before a binding is addeddefault voidbeforeRemoveBinding(SimpleString uniqueName, org.apache.activemq.artemis.core.transaction.Transaction tx, boolean deleteData)Before a binding is removed-
Methods inherited from interface org.apache.activemq.artemis.core.server.plugin.ActiveMQServerBasePlugin
init, registered, setInit, unregistered
-
-
-
-
Method Detail
-
beforeAddBinding
default void beforeAddBinding(org.apache.activemq.artemis.core.postoffice.Binding binding) throws ActiveMQExceptionBefore a binding is added- Parameters:
binding-- Throws:
ActiveMQException
-
afterAddBinding
default void afterAddBinding(org.apache.activemq.artemis.core.postoffice.Binding binding) throws ActiveMQExceptionAfter a binding has been added- Parameters:
binding- The newly added binding- Throws:
ActiveMQException
-
beforeRemoveBinding
default void beforeRemoveBinding(SimpleString uniqueName, org.apache.activemq.artemis.core.transaction.Transaction tx, boolean deleteData) throws ActiveMQException
Before a binding is removed- Parameters:
uniqueName-tx-deleteData-- Throws:
ActiveMQException
-
afterRemoveBinding
default void afterRemoveBinding(org.apache.activemq.artemis.core.postoffice.Binding binding, org.apache.activemq.artemis.core.transaction.Transaction tx, boolean deleteData) throws ActiveMQExceptionAfter a binding is removed- Parameters:
binding-tx-deleteData-- Throws:
ActiveMQException
-
-