You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/09/28 22:42:13 UTC
svn commit: r451030 - in
/incubator/activemq/trunk/activemq-console/src/test/resources: ./
activemq.xml log4j.properties
Author: chirino
Date: Thu Sep 28 13:42:12 2006
New Revision: 451030
URL: http://svn.apache.org/viewvc?view=rev&rev=451030
Log:
Adding a activemq.xml and log4j.properties as test resources so that ActiveMQ can be launched via
the Main class in an IDE without any additional configuration.
Added:
incubator/activemq/trunk/activemq-console/src/test/resources/
incubator/activemq/trunk/activemq-console/src/test/resources/activemq.xml
incubator/activemq/trunk/activemq-console/src/test/resources/log4j.properties
Added: incubator/activemq/trunk/activemq-console/src/test/resources/activemq.xml
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-console/src/test/resources/activemq.xml?view=auto&rev=451030
==============================================================================
--- incubator/activemq/trunk/activemq-console/src/test/resources/activemq.xml (added)
+++ incubator/activemq/trunk/activemq-console/src/test/resources/activemq.xml Thu Sep 28 13:42:12 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- START SNIPPET: xbean -->
+<beans>
+
+ <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
+ <broker useJmx="false" xmlns="http://activemq.org/config/1.0">
+
+ <persistenceAdapter>
+ <journaledJDBC journalLogFiles="2" dataDirectory="target/foo"/>
+ </persistenceAdapter>
+
+ <transportConnectors>
+ <transportConnector uri="tcp://localhost:61616"/>
+ </transportConnectors>
+
+ </broker>
+
+</beans>
+<!-- END SNIPPET: xbean -->
Added: incubator/activemq/trunk/activemq-console/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-console/src/test/resources/log4j.properties?view=auto&rev=451030
==============================================================================
--- incubator/activemq/trunk/activemq-console/src/test/resources/log4j.properties (added)
+++ incubator/activemq/trunk/activemq-console/src/test/resources/log4j.properties Thu Sep 28 13:42:12 2006
@@ -0,0 +1,28 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+
+#
+# The logging properties used during tests..
+#
+log4j.rootLogger=DEBUG, stdout
+
+log4j.logger.org.apache.activemq.spring=WARN
+
+# CONSOLE appender not used by default
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
\ No newline at end of file