Class AMQPFederationTargetControlType

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

public final class AMQPFederationTargetControlType extends org.apache.activemq.artemis.core.management.impl.AbstractControl implements AMQPFederationControl
Management service control instance for an AMQPFederationTarget instance that is the target of an AMQP broker connection with federation configured. The target can behave much the same as a federation source but its scoped to the connection and all operations cease as soon as the connection is closed.
  • 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