ActiveMQ - delete/purge all queue via command line

后端 未结 5 1403
我在风中等你
我在风中等你 2021-02-19 13:11

Is there a way to delete / purge all queues in ActiveMQ via the command line (win/linux)? I could only find the commands for a specific queue. Or maybe there\'s a way to do this

5条回答
  •  抹茶落季
    2021-02-19 13:15

    1- go to amq bin folder, in my case:

    cd /opt/amq/bin
    

    2- run amq client:

    ./client
    

    3- run purge on desired queue

    activemq:purge 
    

提交回复
热议问题