[
https://issues.apache.org/jira/browse/ARTEMIS-5388?focusedWorklogId=965305&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-965305
]
ASF GitHub Bot logged work on ARTEMIS-5388:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 08/Apr/25 19:08
Start Date: 08/Apr/25 19:08
Worklog Time Spent: 10m
Work Description: tabish121 commented on code in PR #5613:
URL: https://github.com/apache/activemq-artemis/pull/5613#discussion_r2033869062
##########
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:
You only need to use the bracketed return style if you are omitting the
single line heading which you could do here, otherwise the brackets should be
omitted.
Issue Time Tracking
-------------------
Worklog Id: (was: 965305)
Time Spent: 20m (was: 10m)
> 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: 20m
> 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