Class AMQPBridgeSenderControlType
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderControlType
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration, AMQPBridgeSenderControl
public class AMQPBridgeSenderControlType
extends org.apache.activemq.artemis.core.management.impl.AbstractControl
implements AMQPBridgeSenderControl
Management object used for AMQP bridge address and queue senders to expose sender 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 sender instance.Gets the filter string that will be used when creating the bridge sender.getFqqn()Gets the local FQQN that comprises the address and queue where the remote sender will be attached.longReturns the number of messages this bridge sender has sent to the remote.intGets the priority value that will be requested for the local subscription that feeds this bridge sender with messages to send to the remote.Gets the queue name that will be used for this bridge sender instance.getRole()Returns the type of bridge sender being represented.Gets the routing type that will be requested when creating a sender 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
-
AMQPBridgeSenderControlType
public AMQPBridgeSenderControlType(AMQPBridgeToSenderController senderController) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
getMessagesSent
public long getMessagesSent()Description copied from interface:AMQPBridgeSenderControlReturns the number of messages this bridge sender has sent to the remote.- Specified by:
getMessagesSentin interfaceAMQPBridgeSenderControl- Returns:
- the number of messages this bridge sender has sent to the remote
-
getRole
Description copied from interface:AMQPBridgeSenderControlReturns the type of bridge sender being represented.- Specified by:
getRolein interfaceAMQPBridgeSenderControl- Returns:
- the type of bridge sender being represented
-
getQueueName
Description copied from interface:AMQPBridgeSenderControlGets the queue name that will be used for this bridge sender instance. For Queue bridge this will be the name of the queue whose messages are being bridged from this server instance to the remote. For an Address bridge this will be an automatically generated name that should be unique to a given bridge sender instance.- Specified by:
getQueueNamein interfaceAMQPBridgeSenderControl- Returns:
- the queue name associated with the bridge sender
-
getAddress
Description copied from interface:AMQPBridgeSenderControlGets the address that will be used for this bridge sender instance. For Queue bridge this is the address under which the matching queue must reside. For Address bridge this is the actual subscription address whose messages are being bridged from the local address.- Specified by:
getAddressin interfaceAMQPBridgeSenderControl- Returns:
- the address associated with this bridge sender.
-
getFqqn
Description copied from interface:AMQPBridgeSenderControlGets the local FQQN that comprises the address and queue where the remote sender will be attached.- Specified by:
getFqqnin interfaceAMQPBridgeSenderControl- Returns:
- provides the FQQN that can be used to address the sender queue directly.
-
getRoutingType
Description copied from interface:AMQPBridgeSenderControlGets the routing type that will be requested when creating a sender on the local server.- Specified by:
getRoutingTypein interfaceAMQPBridgeSenderControl- Returns:
- the routing type of the bridge sender.
-
getFilterString
Description copied from interface:AMQPBridgeSenderControlGets the filter string that will be used when creating the bridge sender. 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 interfaceAMQPBridgeSenderControl- Returns:
- the filter string in use for the bridge sender.
-
getPriority
public int getPriority()Description copied from interface:AMQPBridgeSenderControlGets the priority value that will be requested for the local subscription that feeds this bridge sender with messages to send to the remote.- Specified by:
getPriorityin interfaceAMQPBridgeSenderControl- Returns:
- the assigned sender priority for the bridge sender.
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-