Added: 
activemq/camel/trunk/components/camel-jmxconnect/src/test/java/org/apache/camel/jmxconnect/SimpleServiceMBean.java
URL: 
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jmxconnect/src/test/java/org/apache/camel/jmxconnect/SimpleServiceMBean.java?rev=685904&view=auto
==============================================================================
--- 
activemq/camel/trunk/components/camel-jmxconnect/src/test/java/org/apache/camel/jmxconnect/SimpleServiceMBean.java
 (added)
+++ 
activemq/camel/trunk/components/camel-jmxconnect/src/test/java/org/apache/camel/jmxconnect/SimpleServiceMBean.java
 Thu Aug 14 07:09:52 2008
@@ -0,0 +1,48 @@
+/**
+ *
+ * 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.
+ */
+package org.apache.camel.jmxconnect;
+
+/**
+ * @version $Revision: 1.1 $
+ */
+public interface SimpleServiceMBean {
+    void start();
+
+    void stop();
+
+    /**
+     * @param simpleCounter
+     *            The simpleCounter to set.
+     */
+    void setSimpleCounter(int simpleCounter);
+
+    /**
+     * @return Returns the simpleCounter.
+     */
+    int getSimpleCounter();
+
+    /**
+     * @return Returns the simpleValue.
+     */
+    int getSimpleValue();
+
+    /**
+     * @param simpleValue The simpleValue to set.
+     */
+    void setSimpleValue(int simpleValue);
+}

Propchange: 
activemq/camel/trunk/components/camel-jmxconnect/src/test/java/org/apache/camel/jmxconnect/SimpleServiceMBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
activemq/camel/trunk/components/camel-jmxconnect/src/test/resources/log4j.properties
URL: 
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jmxconnect/src/test/resources/log4j.properties?rev=685904&view=auto
==============================================================================
--- 
activemq/camel/trunk/components/camel-jmxconnect/src/test/resources/log4j.properties
 (added)
+++ 
activemq/camel/trunk/components/camel-jmxconnect/src/test/resources/log4j.properties
 Thu Aug 14 07:09:52 2008
@@ -0,0 +1,35 @@
+## ------------------------------------------------------------------------
+## 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=INFO, out
+
+log4j.logger.org.apache.camel=DEBUG
+
+# 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
+
+# File appender
+log4j.appender.out=org.apache.log4j.FileAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - 
%m%n
+log4j.appender.out.file=target/test.log
+log4j.appender.out.append=true

Propchange: 
activemq/camel/trunk/components/camel-jmxconnect/src/test/resources/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to