jbertram commented on code in PR #5613:
URL: https://github.com/apache/activemq-artemis/pull/5613#discussion_r2035762099
##########
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:
The `{@return ...}` syntax was [introduced in Java
16](https://bugs.openjdk.org/browse/JDK-8256804). We recently overhauled the
code-based to take advantage of it via ARTEMIS-5314.
--
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