You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2010/05/10 08:59:35 UTC

svn commit: r942673 - in /camel/trunk/components/camel-spring/src/test: java/org/apache/camel/spring/processor/ resources/org/apache/camel/spring/processor/

Author: davsclaus
Date: Mon May 10 06:59:34 2010
New Revision: 942673

URL: http://svn.apache.org/viewvc?rev=942673&view=rev
Log:
Fixed test on other boxes.

Added:
    camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/MyCoolBean.java   (with props)
Modified:
    camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringMethodCallTest.java
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml

Added: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/MyCoolBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/MyCoolBean.java?rev=942673&view=auto
==============================================================================
--- camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/MyCoolBean.java (added)
+++ camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/MyCoolBean.java Mon May 10 06:59:34 2010
@@ -0,0 +1,27 @@
+/**
+ * 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.spring.processor;
+
+/**
+* @version $Revision$
+*/
+public class MyCoolBean {
+
+    public String cool(String body) {
+        return "Hi " + body;
+    }
+}

Propchange: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/MyCoolBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/MyCoolBean.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringMethodCallTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringMethodCallTest.java?rev=942673&r1=942672&r2=942673&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringMethodCallTest.java (original)
+++ camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringMethodCallTest.java Mon May 10 06:59:34 2010
@@ -51,10 +51,4 @@ public class SpringMethodCallTest extend
         return createSpringCamelContext(this, "/org/apache/camel/spring/processor/SpringMethodCallTest.xml");
     }
 
-    public static class MyCoolBean {
-
-        public String cool(String body) {
-            return "Hi " + body;
-        }
-    }
 }

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml?rev=942673&r1=942672&r2=942673&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml Mon May 10 06:59:34 2010
@@ -22,13 +22,13 @@
        http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
     ">
 
-    <bean id="coolBean" class="org.apache.camel.spring.processor.SpringMethodCallTest$MyCoolBean"/>
+    <bean id="coolBean" class="org.apache.camel.spring.processor.MyCoolBean"/>
 
     <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
         <route>
             <from uri="direct:start"/>
             <setHeader headerName="foo">
-                <method beanType="org.apache.camel.spring.processor.SpringMethodCallTest$MyCoolBean"/>
+                <method beanType="org.apache.camel.spring.processor.MyCoolBean"/>
             </setHeader>
             <to uri="mock:result"/>
         </route>