Created
April 12, 2017 16:43
-
-
Save paoloantinori/b122945055eef4e6118e60bcede781b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:amq="http://activemq.apache.org/schema/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"> | |
<!-- Allows us to use system properties and fabric as variables in this configuration file --> | |
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<property name="properties"> | |
<bean class="io.fabric8.mq.fabric.ConfigurationProperties"/> | |
</property> | |
</bean> | |
<broker brokerName="${broker-name}" dataDirectory="${data}" restartAllowed="false" start="false" xmlns="http://activemq.apache.org/schema/core"> | |
<destinationPolicy> | |
<policyMap> | |
<policyEntries> | |
<policyEntry producerFlowControl="true" topic=">"> | |
<pendingMessageLimitStrategy> | |
<constantPendingMessageLimitStrategy limit="1000"/> | |
</pendingMessageLimitStrategy> | |
</policyEntry> | |
<policyEntry memoryLimit="1mb" producerFlowControl="true" queue=">"/> | |
</policyEntries> | |
</policyMap> | |
</destinationPolicy> | |
<managementContext> | |
<managementContext createConnector="false"/> | |
</managementContext> | |
<persistenceAdapter> | |
<kahaDB directory="${data}/kahadb"/> | |
</persistenceAdapter> | |
<plugins> | |
<jaasAuthenticationPlugin configuration="karaf"/> | |
</plugins> | |
<systemUsage> | |
<systemUsage> | |
<memoryUsage> | |
<memoryUsage percentOfJvmHeap="70"/> | |
</memoryUsage> | |
<storeUsage> | |
<storeUsage limit="100 gb"/> | |
</storeUsage> | |
<tempUsage> | |
<tempUsage limit="50 gb"/> | |
</tempUsage> | |
</systemUsage> | |
</systemUsage> | |
<transportConnectors> | |
<transportConnector name="http" uri="http://0.0.0.0:0"/> | |
</transportConnectors> | |
</broker> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment