ActiveMQ - delete/purge all queue via command line
问题 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 via the activeMQ admin? Again, I only found how to delete/purge the queues one by one, which can be very tedious. Thanks! 回答1: You can do tweak your activemq.xml a bit: <broker deleteAllMessagesOnStartup="true" ...> This works with KahaDB message stores (it has problems with JDBC message stores), all your messages get