Startup error of embedded ActiveMQ: Temporary Store limit is 51200 mb

后端 未结 2 898
眼角桃花
眼角桃花 2020-12-17 21:35

I have a Spring web application which will send and listen on a standalone ActiveMQ. When I start the web application, it shows:

20:12:52.684 [localhost-star         


        
2条回答
  •  一向
    一向 (楼主)
    2020-12-17 22:20

    I had the same problem, but placing an activeMQ.xml somewhere on the server isn't the best idea in this case, I think.

    When I use an embedded active mq server, I want to keep all configuration in one place (especially in my project/war file).

    Now it is possible to set the tempUsage config values directly at broker-bean definition: as described in this link.

    For example:

    
        
            
        
        
            
                
                    
                
                
                    
                
                
                    
                
            
        
    
    

    (amq - namespace = http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd)

提交回复
热议问题