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.
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionAMQPFederationSourceControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPFederationSource federation) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]longReturns the number of messages this federation has received from the remote.longReturns the number of messages this federation has sent to the remote.getName()Returns the configured name the AMQP federation being controlled.Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvokeMethods inherited from class StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
Constructor Details
-
AMQPFederationSourceControlType
public AMQPFederationSourceControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPFederationSource federation) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
getName
Description copied from interface:AMQPFederationControlReturns the configured name the AMQP federation being controlled.- Specified by:
getNamein interfaceAMQPFederationControl- Returns:
- the configured name the AMQP federation being controlled
-
getMessagesReceived
public long getMessagesReceived()Description copied from interface:AMQPFederationControlReturns the number of messages this federation has received from the remote.- Specified by:
getMessagesReceivedin interfaceAMQPFederationControl- Returns:
- the number of messages this federation has received from the remote
-
getMessagesSent
public long getMessagesSent()Description copied from interface:AMQPFederationControlReturns the number of messages this federation has sent to the remote.- Specified by:
getMessagesSentin interfaceAMQPFederationControl- Returns:
- the number of messages this federation has sent to the remote
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-