anmol-saxena-14 opened a new pull request, #1966:
URL: https://github.com/apache/activemq/pull/1966

   Adds four new action-oriented CLI commands as described in **Issue#1816**, 
making it straightforward to manage a running broker from the shell(and from AI 
agents such as Claude Code) without requiring JMX tooling.
   
   **New commands**
       `activemq queues`   list | create | delete | purge | info | browse | 
produce | pause | resume
       `activemq topics`   list | create | delete | info
       `activemq broker`   info | connectors [list|add|remove] | scheduler
       `activemq network-connectors`  list | add | remove
   
   Each command is registered via the existing ServiceLoader SPI 
`(META-INF/services/...Command)` so no existing code is modified to   discover 
them.
   
   The consume action is intentionally not implemented in the new commands. 
Receiving and acknowledging messages requires an active JMS connection,which is 
outside the scope of the JMX-based CLI facade. The existing `activemq consumer` 
command covers that use case.
   
   **Tests :** 37 new unit tests across `BrokerCommandTest`, 
`NetworkConnectorsCommandTest`, `QueuesCommandTest`, and `TopicsCommandTest` 
covering all actions and error-handling paths.


-- 
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


Reply via email to