Interface ActiveMQServerBindingPlugin

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void afterAddBinding​(org.apache.activemq.artemis.core.postoffice.Binding binding)
      After a binding has been added
      default void afterRemoveBinding​(org.apache.activemq.artemis.core.postoffice.Binding binding, org.apache.activemq.artemis.core.transaction.Transaction tx, boolean deleteData)
      After a binding is removed
      default void beforeAddBinding​(org.apache.activemq.artemis.core.postoffice.Binding binding)
      Before a binding is added
      default void beforeRemoveBinding​(SimpleString uniqueName, org.apache.activemq.artemis.core.transaction.Transaction tx, boolean deleteData)
      Before a binding is removed
    • Method Detail

      • beforeAddBinding

        default void beforeAddBinding​(org.apache.activemq.artemis.core.postoffice.Binding binding)
                               throws ActiveMQException
        Before a binding is added
        Parameters:
        binding -
        Throws:
        ActiveMQException
      • afterAddBinding

        default void afterAddBinding​(org.apache.activemq.artemis.core.postoffice.Binding binding)
                              throws ActiveMQException
        After 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 ActiveMQException
        After a binding is removed
        Parameters:
        binding -
        tx -
        deleteData -
        Throws:
        ActiveMQException