anchor.diff:          </persistenceAdapter>
   
   
  -        <!--
  +          <!--
               The systemUsage controls the maximum amount of space the broker will
  -            use before slowing down producers. For more information, see:
  +            use before disabling caching and/or slowing down producers. For more information, see:
               http://activemq.apache.org/producer-flow-control.html
  -            If using ActiveMQ embedded - the following limits could safely be used:
  -        -->
  -        <systemUsage>
  +          -->
             <systemUsage>
  -              <memoryUsage>
  -                  <memoryUsage limit="64 mb"/>
  -              </memoryUsage>
  -              <storeUsage>
  -                  <storeUsage limit="100 gb"/>
  -              </storeUsage>
  -              <tempUsage>
  -                  <tempUsage limit="50 gb"/>
  -              </tempUsage>
  -          </systemUsage>
  -      </systemUsage>
  +            <systemUsage>
  +                <memoryUsage>
  +                    <memoryUsage percentOfJvmHeap="70" />
  +                </memoryUsage>
  +                <storeUsage>
  +                    <storeUsage limit="100 gb"/>
  +                </storeUsage>
  +                <tempUsage>
  +                    <tempUsage limit="50 gb"/>
  +                </tempUsage>
  +            </systemUsage>
  +        </systemUsage>
   
           <!--
               The transport connectors expose ActiveMQ over a given protocol to
  
positive.code:         -->
          <transportConnectors>
              <!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB -->
              <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
              <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
              <% if node['activemq']['enable_stomp'] -%>
              <transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
              <% end -%>
          </transportConnectors>
  
          <!-- destroy the spring context on shutdown to stop jetty -->
  
negative.code:         </property>
      </bean>
  
     <!-- Allows accessing the server log -->
      <bean id="logQuery" class="io.fabric8.insight.log.log4j.Log4jLogQuery"
            lazy-init="false" scope="singleton"
            init-method="start" destroy-method="stop">
      </bean>
  
      <!--
          The <broker> element is used to configure the ActiveMQ broker.
      -->
      <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}">
  
          <destinationPolicy>
              <policyMap>
                <policyEntries>
                  <policyEntry topic=">" >
                      <!-- The constantPendingMessageLimitStrategy is used to prevent
                           slow topic consumers to block producers and affect other consumers
                           by limiting the number of messages that are retained
                           For more information, see:
  
                           http://activemq.apache.org/slow-consumer-handling.html
  
                      -->
                    <pendingMessageLimitStrategy>
                      <constantPendingMessageLimitStrategy limit="1000"/>
                    </pendingMessageLimitStrategy>
                  </policyEntry>
                </policyEntries>
              </policyMap>
          </destinationPolicy>
  
  