clebertsuconic commented on a change in pull request #3801:
URL: https://github.com/apache/activemq-artemis/pull/3801#discussion_r733303390
##########
File path:
artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AddressControl.java
##########
@@ -230,4 +230,15 @@ String sendMessage(@Parameter(name = "headers", desc =
"The headers to add to th
@Operation(desc = "Purges the queues bound to this address. Returns the
total number of messages purged.", impact = MBeanOperationInfo.ACTION)
long purge() throws Exception;
+ @Operation(desc = "Makes the broker to read messages from the retention
folder matching the address and filter.", impact = MBeanOperationInfo.ACTION)
+ void replay(@Parameter(name = "address", desc = "Name of the address to
replay") String address,
Review comment:
the address should not be a parameter on the AddressControl...
That's the purpose, you understand? you delegate the replay from
AddressControl calling ActiveMQServer
that way you pass in (target, filter) on the AddressControl,
and the implementation will call Server.replay(this.address, target, filter);
This would make it simpler, because you are usually browsing messages at the
address level on the console. it would make it simpler for users.
--
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]