diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java index 1c9b0c6911..04af61eeb3 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java @@ -1060,10 +1060,10 @@ public interface ActiveMQServerControl { String listNetworkTopology() throws Exception; @Operation(desc = "Get the selected address", impact = MBeanOperationInfo.INFO) - String getAddressInfo(String address) throws ActiveMQAddressDoesNotExistException; + String getAddressInfo(@Parameter(name = "address", desc = "The address") String address) throws ActiveMQAddressDoesNotExistException; @Operation(desc = "Get a list of bindings associated with an address", impact = MBeanOperationInfo.INFO) - String listBindingsForAddress(String address) throws Exception; + String listBindingsForAddress(@Parameter(name = "address", desc = "The address") String address) throws Exception; @Operation(desc = "List Addresses on the broker", impact = MBeanOperationInfo.INFO) String listAddresses(@Parameter(name = "separator", desc = "Separator used on the string listing") String separator) throws Exception; diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AddressControl.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AddressControl.java index 57974aa323..635eb72265 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AddressControl.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AddressControl.java @@ -119,7 +119,7 @@ public interface AddressControl { */ @Operation(desc = "Sends a TextMessage to a password-protected address.", impact = MBeanOperationInfo.ACTION) String sendMessage(@Parameter(name = "headers", desc = "The headers to add to the message") Map headers, - @Parameter(name = "headers", desc = "A type for the message") final int type, + @Parameter(name = "type", desc = "A type for the message") final int type, @Parameter(name = "body", desc = "The body (byte[]) of the message encoded as a string using Base64") String body, @Parameter(name = "durable", desc = "Whether the message is durable") boolean durable, @Parameter(name = "user", desc = "The user to authenticate with") String user,