[
https://issues.apache.org/jira/browse/ARTEMIS-5388?focusedWorklogId=965308&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-965308
]
ASF GitHub Bot logged work on ARTEMIS-5388:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 08/Apr/25 20:01
Start Date: 08/Apr/25 20:01
Worklog Time Spent: 10m
Work Description: jbertram commented on code in PR #5613:
URL: https://github.com/apache/activemq-artemis/pull/5613#discussion_r2033937540
##########
artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/BridgeControl.java:
##########
@@ -140,4 +140,12 @@ public interface BridgeControl extends
ActiveMQComponentControl {
@Attribute(desc = "The metrics for this bridge. The
messagesPendingAcknowledgement counter is incremented when the bridge is has
forwarded a message but is waiting acknowledgement from the remote broker. The
messagesAcknowledged counter is the number of messages actually received by the
remote broker.")
Map<String, Object> getMetrics();
+
+ /**
+ * Report the connection state of the bridge.
+ *
+ * {@return whether the bridge is actively connected to the remote broker}
Review Comment:
I'm going to clean this up a little when I merge it so don't worry about it,
@artnaseef.
Issue Time Tracking
-------------------
Worklog Id: (was: 965308)
Time Spent: 0.5h (was: 20m)
> Export core bridge connection status as a
> ------------------------------------------
>
> Key: ARTEMIS-5388
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5388
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Reporter: Arthur Naseef
> Assignee: Arthur Naseef
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Exposing the bridge connection status via JMX will improved monitoring, such
> as alerting when the bridge is disconnected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact