ActiveMQ - delete/purge all queue via command line

后端 未结 5 1428
我在风中等你
我在风中等你 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:25

    Another possibility is to deploy a small Camel route in a container (e.g. Apache ServiceMix) or simply by executing a java program which contain the route.

    For example here is the route I currently use on my development computer where I also have the ServiceMix installed:

    
    
        
            
                
            
        
    
        
            
                java.lang.Exception
                
                    true
                
                
            
    
            
                
                
            
        
    
        
            
        
    
    

提交回复
热议问题