Class AMQPFederationRemotePolicyControlType
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationRemotePolicyControlType
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration, AMQPFederationRemotePolicyControl
public class AMQPFederationRemotePolicyControlType
extends org.apache.activemq.artemis.core.management.impl.AbstractControl
implements AMQPFederationRemotePolicyControl
Management service control instance for an AMQPFederation policy manager instance that federates messages from this
broker to the opposing side of the broker connection. These can be created either for a local broker connection that
has bi-directional federation configured, or as a view of a remote broker connection pulling messages from the
target.
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionAMQPFederationRemotePolicyControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPFederationRemotePolicyManager manager) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]longReturns the number of messages this federation policy has received from the remote..getName()Returns the configured name the AMQP federation policy manager being controlled.getType()Returns the type of the AMQP federation policy manager 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
-
AMQPFederationRemotePolicyControlType
public AMQPFederationRemotePolicyControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPFederationRemotePolicyManager manager) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
getType
Description copied from interface:AMQPFederationRemotePolicyControlReturns the type of the AMQP federation policy manager being controlled.- Specified by:
getTypein interfaceAMQPFederationRemotePolicyControl- Returns:
- the type of the AMQP federation policy manager being controlled
-
getName
Description copied from interface:AMQPFederationRemotePolicyControlReturns the configured name the AMQP federation policy manager being controlled.- Specified by:
getNamein interfaceAMQPFederationRemotePolicyControl- Returns:
- the configured name the AMQP federation policy manager being controlled
-
getMessagesSent
public long getMessagesSent()Description copied from interface:AMQPFederationRemotePolicyControlReturns the number of messages this federation policy has received from the remote..- Specified by:
getMessagesSentin interfaceAMQPFederationRemotePolicyControl- Returns:
- the number of messages this federation policy has received from 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
-