Class AMQPFederationSourceControlType

java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationSourceControlType
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, AMQPFederationControl

public final class AMQPFederationSourceControlType extends org.apache.activemq.artemis.core.management.impl.AbstractControl implements AMQPFederationControl
Management service control instance for an AMQPFederationSource instance that federates messages from the remote broker on the opposing side of this broker connection. The federation source has a lifetime that matches that of its parent broker connection.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: AMQPFederationControl
      Returns the configured name the AMQP federation being controlled.
      Specified by:
      getName in interface AMQPFederationControl
      Returns:
      the configured name the AMQP federation being controlled
    • getMessagesReceived

      public long getMessagesReceived()
      Description copied from interface: AMQPFederationControl
      Returns the number of messages this federation has received from the remote.
      Specified by:
      getMessagesReceived in interface AMQPFederationControl
      Returns:
      the number of messages this federation has received from the remote
    • getMessagesSent

      public long getMessagesSent()
      Description copied from interface: AMQPFederationControl
      Returns the number of messages this federation has sent to the remote.
      Specified by:
      getMessagesSent in interface AMQPFederationControl
      Returns:
      the number of messages this federation has sent to the remote
    • fillMBeanOperationInfo

      protected MBeanOperationInfo[] fillMBeanOperationInfo()
      Specified by:
      fillMBeanOperationInfo in class org.apache.activemq.artemis.core.management.impl.AbstractControl
    • fillMBeanAttributeInfo

      protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
      Specified by:
      fillMBeanAttributeInfo in class org.apache.activemq.artemis.core.management.impl.AbstractControl