Class AMQPBridgeReceiverControlType
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverControlType
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration, AMQPBridgeReceiverControl
public class AMQPBridgeReceiverControlType
extends org.apache.activemq.artemis.core.management.impl.AbstractControl
implements AMQPBridgeReceiverControl
Management object used for AMQP bridge address and queue receivers to expose receiver state.
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]Gets the address that will be used for this bridge receiver instance.Gets the filter string that will be used when creating the remote receiver.getFqqn()Gets the FQQN that comprises the address and queue where the remote receiver will be attached.longReturns the number of messages this bridge receiver has received from the remote.intGets the priority value that will be requested for the remote receiver that is created.Gets the queue name that will be used for this bridge receiver instance.getRole()Returns the type of bridge receiver being represented.Gets the routing type that will be requested when creating a receiver on the remote 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
-
AMQPBridgeReceiverControlType
- Throws:
NotCompliantMBeanException
-
-
Method Details
-
getMessagesReceived
public long getMessagesReceived()Description copied from interface:AMQPBridgeReceiverControlReturns the number of messages this bridge receiver has received from the remote.- Specified by:
getMessagesReceivedin interfaceAMQPBridgeReceiverControl- Returns:
- the number of messages this bridge receiver has received from the remote
-
getRole
Description copied from interface:AMQPBridgeReceiverControlReturns the type of bridge receiver being represented.- Specified by:
getRolein interfaceAMQPBridgeReceiverControl- Returns:
- the type of bridge receiver being represented
-
getQueueName
Description copied from interface:AMQPBridgeReceiverControlGets the queue name that will be used for this bridge receiver instance. For Queue bridge this will be the name of the queue whose messages are being bridged to this server instance. For an Address bridge this will be an automatically generated name that should be unique to a given bridge instance- Specified by:
getQueueNamein interfaceAMQPBridgeReceiverControl- Returns:
- the queue name associated with the bridge receiver
-
getAddress
Description copied from interface:AMQPBridgeReceiverControlGets the address that will be used for this bridge receiver instance. For Queue bridge this is the address under which the matching queue must reside. For Address bridge this is the actual address whose messages are being bridged.- Specified by:
getAddressin interfaceAMQPBridgeReceiverControl- Returns:
- the address associated with this bridge receiver.
-
getFqqn
Description copied from interface:AMQPBridgeReceiverControlGets the FQQN that comprises the address and queue where the remote receiver will be attached.- Specified by:
getFqqnin interfaceAMQPBridgeReceiverControl- Returns:
- provides the FQQN that can be used to address the receiver queue directly.
-
getRoutingType
Description copied from interface:AMQPBridgeReceiverControlGets the routing type that will be requested when creating a receiver on the remote server.- Specified by:
getRoutingTypein interfaceAMQPBridgeReceiverControl- Returns:
- the routing type of the remote receiver.
-
getFilterString
Description copied from interface:AMQPBridgeReceiverControlGets the filter string that will be used when creating the remote receiver.For a queue bridge the filter is selected from configuration if one was set or if the consumer that generated to demand that creates the bridge carries a filter that value is chosen, otherwise any filter that is set on the bridged queue is chosen.
For an address bridge the filter only exists if one was set in the bridge from address policy configuration.
- Specified by:
getFilterStringin interfaceAMQPBridgeReceiverControl- Returns:
- the filter string in use for the bridge receiver.
-
getPriority
public int getPriority()Description copied from interface:AMQPBridgeReceiverControlGets the priority value that will be requested for the remote receiver that is created.- Specified by:
getPriorityin interfaceAMQPBridgeReceiverControl- Returns:
- the assigned receiver priority for the bridge receiver.
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-