mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414441 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
18aa6dd34a
commit
5f318d3aef
|
@ -86,7 +86,7 @@
|
|||
|
||||
|
||||
<dependency>
|
||||
<groupId>activemq</groupId>
|
||||
<groupId>${pom.groupId}</groupId>
|
||||
<artifactId>activemq-web</artifactId>
|
||||
<version>${pom.currentVersion}</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,21 +1,24 @@
|
|||
<!-- START SNIPPET: example -->
|
||||
<beans>
|
||||
|
||||
<!-- Allows us to use system properties as variables in this configuration file -->
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="true" xmlns="http://activemq.org/config/1.0">
|
||||
|
||||
<!-- Use the following to set the broker memory limit (in bytes)
|
||||
<memoryManager>
|
||||
<usageManager id="memory-manager" limit="1048576"/>
|
||||
</memoryManager>
|
||||
-->
|
||||
|
||||
<!-- Use the following to configure how ActiveMQ is exposed in JMX
|
||||
<managementContext>
|
||||
<managementContext connectorPort="1099" jmxDomainName="org.apache.activemq"/>
|
||||
</managementContext>
|
||||
-->
|
||||
<memoryManager>
|
||||
<usageManager id="memory-manager" limit="1048576"/>
|
||||
</memoryManager>
|
||||
-->
|
||||
|
||||
<!-- Use the following to configure how ActiveMQ is exposed in JMX
|
||||
<managementContext>
|
||||
<managementContext connectorPort="1099" jmxDomainName="org.apache.activemq"/>
|
||||
</managementContext>
|
||||
-->
|
||||
|
||||
<!-- In ActiveMQ 4, you can setup destination policies -->
|
||||
<!-- In ActiveMQ 4, you can setup destination policies -->
|
||||
<destinationPolicy>
|
||||
<policyMap><policyEntries>
|
||||
|
||||
|
@ -33,7 +36,7 @@
|
|||
|
||||
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data"/>
|
||||
<journaledJDBC journalLogFiles="5" dataDirectory="${activemq.home}/activemq-data"/>
|
||||
<!-- To use a different datasource, use the following syntax : -->
|
||||
<!--
|
||||
<journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data" dataSource="#postgres-ds"/>
|
||||
|
|
|
@ -18,7 +18,7 @@ log4j.appender.stdout.threshold=INFO
|
|||
|
||||
# File appender
|
||||
log4j.appender.out=org.apache.log4j.RollingFileAppender
|
||||
log4j.appender.out.file=../data/activemq.log
|
||||
log4j.appender.out.file=${activemq.home}/data/activemq.log
|
||||
log4j.appender.out.maxFileSize=1024KB
|
||||
log4j.appender.out.maxBackupIndex=5
|
||||
log4j.appender.out.append=true
|
||||
|
|
Loading…
Reference in New Issue