Class AMQPFederationProducerControlType
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationProducerControlType
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration, AMQPFederationProducerControl
public class AMQPFederationProducerControlType
extends org.apache.activemq.artemis.core.management.impl.AbstractControl
implements AMQPFederationProducerControl
Management object used for AMQP federation address and queue producer to expose producer state.
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionAMQPFederationProducerControlType(AMQPFederationSenderController senderController) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]Gets the address that will be used for this federation producer instance.Gets the filter string that will be used when creating the federation producer.getFqqn()Gets the local FQQN that comprises the address and queue where the remote producer will be attached.longReturns the number of messages this federation producer has sent to the remote.intGets the priority value that will be requested for the local subscription that feeds this federation producer with messages to send to the remote.Gets the queue name that will be used for this federation producer instance.getRole()Returns the type of federation producer being represented.Gets the routing type that will be requested when creating a producer on the local server.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
-
AMQPFederationProducerControlType
public AMQPFederationProducerControlType(AMQPFederationSenderController senderController) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
getMessagesSent
public long getMessagesSent()Description copied from interface:AMQPFederationProducerControlReturns the number of messages this federation producer has sent to the remote.- Specified by:
getMessagesSentin interfaceAMQPFederationProducerControl- Returns:
- the number of messages this federation producer has sent to the remote
-
getRole
Description copied from interface:AMQPFederationProducerControlReturns the type of federation producer being represented.- Specified by:
getRolein interfaceAMQPFederationProducerControl- Returns:
- the type of federation producer being represented
-
getQueueName
Description copied from interface:AMQPFederationProducerControlGets the queue name that will be used for this federation producer instance.For Queue federation this will be the name of the queue whose messages are being federated from this server instance to the remote. For an Address federation this will be an automatically generated name that should be unique to a given federation producer instance.
- Specified by:
getQueueNamein interfaceAMQPFederationProducerControl- Returns:
- the queue name associated with the federation producer
-
getAddress
Description copied from interface:AMQPFederationProducerControlGets the address that will be used for this federation producer instance.For Queue federation this is the address under which the matching queue must reside. For Address federation this is the actual subscription address whose messages are being federated from the local address.
- Specified by:
getAddressin interfaceAMQPFederationProducerControl- Returns:
- the address associated with this federation producer
-
getFqqn
Description copied from interface:AMQPFederationProducerControlGets the local FQQN that comprises the address and queue where the remote producer will be attached.- Specified by:
getFqqnin interfaceAMQPFederationProducerControl- Returns:
- provides the FQQN that can be used to address the producer queue directly
-
getRoutingType
Description copied from interface:AMQPFederationProducerControlGets the routing type that will be requested when creating a producer on the local server.- Specified by:
getRoutingTypein interfaceAMQPFederationProducerControl- Returns:
- the routing type of the federation producer
-
getFilterString
Description copied from interface:AMQPFederationProducerControlGets the filter string that will be used when creating the federation producer.This is the filter string that is applied to the local subscription used to filter which message are actually sent to the remote broker.
- Specified by:
getFilterStringin interfaceAMQPFederationProducerControl- Returns:
- the filter string that will be used when creating the federation producer
-
getPriority
public int getPriority()Description copied from interface:AMQPFederationProducerControlGets the priority value that will be requested for the local subscription that feeds this federation producer with messages to send to the remote.- Specified by:
getPriorityin interfaceAMQPFederationProducerControl- Returns:
- the assigned producer priority for the federation producer
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-