All requests are remaining in the NEW state.

All requests are remaining in the NEW state.

Problem:

 All requests are remaining in the NEW state.

Solution: 

Changed ActiveMQ configuration to increase its performance. There were multiple requests are pending which made ActiveMQ idle. After adding the following configuration, ActiveMQ started delivering pending messages from the queue.

1. Edit <ACTIVEMQ_HOME>/conf/activemq.xml file and modify <destinationPolicy> block with the following highlighted text:

<destinationPolicy>
            <policyMap>
              <policyEntries>
                <policyEntry topic=">" >
                         http://activemq.apache.org/slow-consumer-handling.html
                    -->
                  <pendingMessageLimitStrategy>
                    <constantPendingMessageLimitStrategy limit="1000"/>
                  </pendingMessageLimitStrategy>
                </policyEntry>
                <policyEntry queue=">" producerFlowControl="true" memoryLimit="500mb" maxPageSize="1000"/>
              </policyEntries>
            </policyMap>
</destinationPolicy>

2. Once done, ActiveMQ needs to be restarted.


      Links to better reach 

            Bot Store

             EPD