Interface BridgeControl
- All Superinterfaces:
- ActiveMQComponentControl
A BridgeControl is used to manage a Bridge.
- 
Method SummaryModifier and TypeMethodDescriptionReturns 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.booleanReturns whether this bridge is using duplicate detection.Methods inherited from interface org.apache.activemq.artemis.api.core.management.ActiveMQComponentControlisStarted, start, stop
- 
Method Details- 
getNameString getName()Returns the name of this bridge.- Returns:
- the name of this bridge
 
- 
getQueueNameString getQueueName()Returns the name of the queue this bridge is consuming messages from.- Returns:
- the name of the queue this bridge is consuming messages from
 
- 
getForwardingAddressString getForwardingAddress()Returns the address this bridge will forward messages to.- Returns:
- the address this bridge will forward messages to
 
- 
getFilterStringString getFilterString()Returns the filter string associated with this bridge.- Returns:
- the filter string associated with this bridge
 
- 
getTransformerClassNameString getTransformerClassName()Returns the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this bridge.- Returns:
- the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this bridge
 
- 
getTransformerPropertiesAsJSONReturns a map of the properties configured for the transformer.- Returns:
- a map of the properties configured for the transformer
- Throws:
- Exception
 
- 
getTransformerPropertiesReturns a map of the properties configured for the transformer.- Returns:
- a map of the properties configured for the transformer
- Throws:
- Exception
 
- 
getStaticConnectorsReturns any list of static connectors used by this bridge.- Returns:
- any list of static connectors used by this bridge
- Throws:
- Exception
 
- 
getDiscoveryGroupNameString getDiscoveryGroupName()Returns the name of the discovery group used by this bridge.- Returns:
- the name of the discovery group used by this bridge
 
- 
getRetryIntervallong getRetryInterval()Returns the retry interval used by this bridge.- Returns:
- the retry interval used by this bridge
 
- 
getRetryIntervalMultiplierdouble getRetryIntervalMultiplier()Returns the retry interval multiplier used by this bridge.- Returns:
- the retry interval multiplier used by this bridge
 
- 
getMaxRetryIntervallong getMaxRetryInterval()Returns the max retry interval used by this bridge.- Returns:
- the max retry interval used by this bridge
 
- 
getReconnectAttemptsint getReconnectAttempts()Returns the number of reconnection attempts used by this bridge.- Returns:
- the number of reconnection attempts used by this bridge
 
- 
isUseDuplicateDetectionboolean isUseDuplicateDetection()Returns whether this bridge is using duplicate detection.- Returns:
- whether this bridge is using duplicate detection
 
- 
isHAboolean isHA()Returns whether this bridge is using high availability.- Returns:
- whether this bridge is using high availability
 
- 
getMessagesPendingAcknowledgementlong getMessagesPendingAcknowledgement()The 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.
- 
getMessagesAcknowledgedlong getMessagesAcknowledged()The 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.
- 
getMetricsThe 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. 
- 
isConnectedboolean isConnected()Returns whether the bridge is actively connected to the remote broker.- Returns:
- whether the bridge is actively connected to the remote broker
 
 
-