This is an automated email from the ASF dual-hosted git repository.

jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 1f90b5be0d ARTEMIS-5062 ClusterConnectionControl has wrong annotation
1f90b5be0d is described below

commit 1f90b5be0d0d1c3e699499251b3cbfb31317508d
Author: Howard Gao <[email protected]>
AuthorDate: Tue Sep 24 11:51:30 2024 +0800

    ARTEMIS-5062 ClusterConnectionControl has wrong annotation
---
 .../artemis/api/core/management/ClusterConnectionControl.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ClusterConnectionControl.java
 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ClusterConnectionControl.java
index 2512fb34d6..50bcc37ec1 100644
--- 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ClusterConnectionControl.java
+++ 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ClusterConnectionControl.java
@@ -141,8 +141,8 @@ public interface ClusterConnectionControl extends 
ActiveMQComponentControl {
     *
     * @throws Exception
     */
-   @Attribute(desc = "The metrics for the bridge by nodeId. The 
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 for this bridge.")
-   Map<String, Object> getBridgeMetrics(String nodeId) throws Exception;
+   @Operation(desc = "The metrics for the bridge by nodeId. The 
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 for this bridge.")
+   Map<String, Object> getBridgeMetrics(@Parameter(name = "nodeId", desc = 
"The target node ID") String nodeId) throws Exception;
 
    @Attribute(desc = "The Producer Window Size used by the Cluster Connection")
    long getProducerWindowSize();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to