artnaseef commented on code in PR #5613:
URL: https://github.com/apache/activemq-artemis/pull/5613#discussion_r2035743236
##########
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:
Ahh thanks - I saw that was used above in the same file, so I was trying to
keep it consistent. Honestly, I had never seen that syntax before, and I have
no idea what the brackets mean.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact