Class BridgeControlImpl
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.core.management.impl.BridgeControlImpl
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ActiveMQComponentControl,BridgeControl
-
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[]Returns the name of the discovery group used by this bridge.Returns the filter string associated with this bridge.Returns the address this bridge will forward messages to.longReturns the max retry interval used by this bridge.longThe messagesAcknowledged counter is the number of messages actually received by the remote broker.longThe messagesPendingAcknowledgement counter is incremented when the bridge is has forwarded a message but is waiting acknowledgement from the other broker.The bridge metrics for this bridgegetName()Returns the name of this bridge.Returns the name of the queue this bridge is consuming messages from.intReturns the number of reconnection attempts used by this bridge.longReturns the retry interval used by this bridge.doubleReturns the retry interval multiplier used by this bridge.String[]Returns any list of static connectors used by this bridge.Returns the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this bridge.Returns a map of the properties configured for the transformer.Returns a map of the properties configured for the transformer.booleanReturns whether the bridge is actively connected to the remote broker.booleanisHA()Returns whether this bridge is using high availability.booleanReturnstrueif this component is started,falseelse..booleanReturns whether this bridge is using duplicate detection.voidstart()Starts this component.voidstop()Stops this component.Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvokeMethods inherited from class javax.management.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
-
BridgeControlImpl
- Throws:
Exception
-
-
Method Details
-
getStaticConnectors
Description copied from interface:BridgeControlReturns any list of static connectors used by this bridge.- Specified by:
getStaticConnectorsin interfaceBridgeControl- Returns:
- any list of static connectors used by this bridge
- Throws:
Exception
-
getForwardingAddress
Description copied from interface:BridgeControlReturns the address this bridge will forward messages to.- Specified by:
getForwardingAddressin interfaceBridgeControl- Returns:
- the address this bridge will forward messages to
-
getQueueName
Description copied from interface:BridgeControlReturns the name of the queue this bridge is consuming messages from.- Specified by:
getQueueNamein interfaceBridgeControl- Returns:
- the name of the queue this bridge is consuming messages from
-
getDiscoveryGroupName
Description copied from interface:BridgeControlReturns the name of the discovery group used by this bridge.- Specified by:
getDiscoveryGroupNamein interfaceBridgeControl- Returns:
- the name of the discovery group used by this bridge
-
getFilterString
Description copied from interface:BridgeControlReturns the filter string associated with this bridge.- Specified by:
getFilterStringin interfaceBridgeControl- Returns:
- the filter string associated with this bridge
-
getReconnectAttempts
public int getReconnectAttempts()Description copied from interface:BridgeControlReturns the number of reconnection attempts used by this bridge.- Specified by:
getReconnectAttemptsin interfaceBridgeControl- Returns:
- the number of reconnection attempts used by this bridge
-
getName
Description copied from interface:BridgeControlReturns the name of this bridge.- Specified by:
getNamein interfaceBridgeControl- Returns:
- the name of this bridge
-
getRetryInterval
public long getRetryInterval()Description copied from interface:BridgeControlReturns the retry interval used by this bridge.- Specified by:
getRetryIntervalin interfaceBridgeControl- Returns:
- the retry interval used by this bridge
-
getRetryIntervalMultiplier
public double getRetryIntervalMultiplier()Description copied from interface:BridgeControlReturns the retry interval multiplier used by this bridge.- Specified by:
getRetryIntervalMultiplierin interfaceBridgeControl- Returns:
- the retry interval multiplier used by this bridge
-
getMaxRetryInterval
public long getMaxRetryInterval()Description copied from interface:BridgeControlReturns the max retry interval used by this bridge.- Specified by:
getMaxRetryIntervalin interfaceBridgeControl- Returns:
- the max retry interval used by this bridge
-
getTransformerClassName
Description copied from interface:BridgeControlReturns the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this bridge.- Specified by:
getTransformerClassNamein interfaceBridgeControl- Returns:
- the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this bridge
-
getTransformerPropertiesAsJSON
Description copied from interface:BridgeControlReturns a map of the properties configured for the transformer.- Specified by:
getTransformerPropertiesAsJSONin interfaceBridgeControl- Returns:
- a map of the properties configured for the transformer
-
getTransformerProperties
Description copied from interface:BridgeControlReturns a map of the properties configured for the transformer.- Specified by:
getTransformerPropertiesin interfaceBridgeControl- Returns:
- a map of the properties configured for the transformer
-
isStarted
public boolean isStarted()Description copied from interface:ActiveMQComponentControlReturnstrueif this component is started,falseelse..- Specified by:
isStartedin interfaceActiveMQComponentControl- Returns:
trueif this component is started,falseelse.
-
isUseDuplicateDetection
public boolean isUseDuplicateDetection()Description copied from interface:BridgeControlReturns whether this bridge is using duplicate detection.- Specified by:
isUseDuplicateDetectionin interfaceBridgeControl- Returns:
- whether this bridge is using duplicate detection
-
isHA
public boolean isHA()Description copied from interface:BridgeControlReturns whether this bridge is using high availability.- Specified by:
isHAin interfaceBridgeControl- Returns:
- whether this bridge is using high availability
-
start
Description copied from interface:ActiveMQComponentControlStarts this component.- Specified by:
startin interfaceActiveMQComponentControl- Throws:
Exception
-
stop
Description copied from interface:ActiveMQComponentControlStops this component.- Specified by:
stopin interfaceActiveMQComponentControl- Throws:
Exception
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
getMessagesPendingAcknowledgement
public long getMessagesPendingAcknowledgement()Description copied from interface:BridgeControlThe messagesPendingAcknowledgement counter is incremented when the bridge is has forwarded a message but is waiting acknowledgement from the other broker. This is a cumulative total and the number of outstanding pending messages can be computed by subtracting messagesAcknowledged from messagesPendingAcknowledgement.- Specified by:
getMessagesPendingAcknowledgementin interfaceBridgeControl
-
getMessagesAcknowledged
public long getMessagesAcknowledged()Description copied from interface:BridgeControlThe messagesAcknowledged counter is the number of messages actually received by the remote broker. This is a cumulative total and the number of outstanding pending messages can be computed by subtracting messagesAcknowledged from messagesPendingAcknowledgement.- Specified by:
getMessagesAcknowledgedin interfaceBridgeControl
-
getMetrics
Description copied from interface:BridgeControlThe bridge metrics for this bridgeThe messagesPendingAcknowledgement counter is incremented when the bridge is has forwarded a message but is waiting acknowledgement from the other broker. The messagesAcknowledged counter is the number of messages actually received by the remote broker.
- Specified by:
getMetricsin interfaceBridgeControl
-
isConnected
public boolean isConnected()Description copied from interface:BridgeControlReturns whether the bridge is actively connected to the remote broker.- Specified by:
isConnectedin interfaceBridgeControl- Returns:
- whether the bridge is actively connected to the remote broker
-