First, the factors affecting the performance of ActiveMQ
Second, the common optimization methods and configuration