activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r521402 - in /activemq/camel/trunk/camel-spring/src: main/java/org/apache/camel/spring/ main/java/org/apache/camel/spring/builder/ test/java/org/apache/camel/spring/ test/java/org/apache/camel/spring/builder/ test/resources/org/apache/camel...
Date Thu, 22 Mar 2007 18:41:26 GMT
Author: chirino
Date: Thu Mar 22 11:41:24 2007
New Revision: 521402

URL: http://svn.apache.org/viewvc?view=rev&rev=521402
Log:
Moved most of the cases from o.a.cammel.spring to o.a.camel.spring.builder


Added:
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelNamespaceHandler.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderAction.java
      - copied, changed from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderAction.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderStatement.java
      - copied, changed from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderStatement.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/CamelBeanDefinitionParser.java
      - copied, changed from r521399, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelBeanDefinitionParser.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/IllegalActionException.java
      - copied, changed from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/IllegalActionException.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/MethodInfo.java
      - copied, changed from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/MethodInfo.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/RouteBuilderFactory.java
      - copied, changed from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/RouteBuilderFactory.java
    activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/builder/
    activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/builder/SpringRouteBuilderTest.java
      - copied, changed from r521399, activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/SpringRouteBuilderTest.java
    activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/builder/
    activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/builder/spring_route_builder_test.xml
      - copied unchanged from r521399, activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/spring_route_builder_test.xml
Removed:
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderAction.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderStatement.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelBeanDefinitionParser.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/IllegalActionException.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/MethodInfo.java
    activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/RouteBuilderFactory.java
    activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/SpringRouteBuilderTest.java
    activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/spring_route_builder_test.xml

Added: activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelNamespaceHandler.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelNamespaceHandler.java?view=auto&rev=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelNamespaceHandler.java
(added)
+++ activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelNamespaceHandler.java
Thu Mar 22 11:41:24 2007
@@ -0,0 +1,12 @@
+package org.apache.camel.spring;
+
+import org.apache.camel.spring.builder.CamelBeanDefinitionParser;
+import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
+
+public class CamelNamespaceHandler extends NamespaceHandlerSupport {
+
+	public void init() {
+		 registerBeanDefinitionParser("routeBuilder", new CamelBeanDefinitionParser());    
+	}
+
+}

Copied: activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderAction.java
(from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderAction.java)
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderAction.java?view=diff&rev=521402&p1=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderAction.java&r1=521395&p2=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderAction.java&r2=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderAction.java
(original)
+++ activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderAction.java
Thu Mar 22 11:41:24 2007
@@ -1,4 +1,4 @@
-package org.apache.camel.spring;
+package org.apache.camel.spring.builder;
 
 import java.lang.reflect.InvocationTargetException;
 import java.util.HashMap;

Copied: activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderStatement.java
(from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderStatement.java)
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderStatement.java?view=diff&rev=521402&p1=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderStatement.java&r1=521395&p2=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderStatement.java&r2=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/BuilderStatement.java
(original)
+++ activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/BuilderStatement.java
Thu Mar 22 11:41:24 2007
@@ -1,4 +1,4 @@
-package org.apache.camel.spring;
+package org.apache.camel.spring.builder;
 
 import java.util.ArrayList;
 

Copied: activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/CamelBeanDefinitionParser.java
(from r521399, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelBeanDefinitionParser.java)
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/CamelBeanDefinitionParser.java?view=diff&rev=521402&p1=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelBeanDefinitionParser.java&r1=521399&p2=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/CamelBeanDefinitionParser.java&r2=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/CamelBeanDefinitionParser.java
(original)
+++ activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/CamelBeanDefinitionParser.java
Thu Mar 22 11:41:24 2007
@@ -1,4 +1,4 @@
-package org.apache.camel.spring;
+package org.apache.camel.spring.builder;
 
 import java.lang.annotation.Annotation;
 import java.lang.reflect.Array;

Copied: activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/IllegalActionException.java
(from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/IllegalActionException.java)
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/IllegalActionException.java?view=diff&rev=521402&p1=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/IllegalActionException.java&r1=521395&p2=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/IllegalActionException.java&r2=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/IllegalActionException.java
(original)
+++ activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/IllegalActionException.java
Thu Mar 22 11:41:24 2007
@@ -1,4 +1,4 @@
-package org.apache.camel.spring;
+package org.apache.camel.spring.builder;
 
 public class IllegalActionException extends IllegalArgumentException {
 

Copied: activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/MethodInfo.java
(from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/MethodInfo.java)
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/MethodInfo.java?view=diff&rev=521402&p1=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/MethodInfo.java&r1=521395&p2=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/MethodInfo.java&r2=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/MethodInfo.java
(original)
+++ activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/MethodInfo.java
Thu Mar 22 11:41:24 2007
@@ -1,7 +1,7 @@
 /**
  * 
  */
-package org.apache.camel.spring;
+package org.apache.camel.spring.builder;
 
 import java.lang.reflect.Method;
 import java.util.LinkedHashMap;

Copied: activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/RouteBuilderFactory.java
(from r521395, activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/RouteBuilderFactory.java)
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/RouteBuilderFactory.java?view=diff&rev=521402&p1=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/RouteBuilderFactory.java&r1=521395&p2=activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/RouteBuilderFactory.java&r2=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/RouteBuilderFactory.java
(original)
+++ activemq/camel/trunk/camel-spring/src/main/java/org/apache/camel/spring/builder/RouteBuilderFactory.java
Thu Mar 22 11:41:24 2007
@@ -1,4 +1,4 @@
-package org.apache.camel.spring;
+package org.apache.camel.spring.builder;
 
 import java.util.ArrayList;
 

Copied: activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/builder/SpringRouteBuilderTest.java
(from r521399, activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/SpringRouteBuilderTest.java)
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/builder/SpringRouteBuilderTest.java?view=diff&rev=521402&p1=activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/SpringRouteBuilderTest.java&r1=521399&p2=activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/builder/SpringRouteBuilderTest.java&r2=521402
==============================================================================
--- activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/SpringRouteBuilderTest.java
(original)
+++ activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel/spring/builder/SpringRouteBuilderTest.java
Thu Mar 22 11:41:24 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.spring;
+package org.apache.camel.spring.builder;
 
 import org.apache.camel.Exchange;
 import org.apache.camel.Processor;
@@ -35,7 +35,7 @@
 	@Override
 	protected void setUp() throws Exception {
 		super.setUp();
-		ctx = new ClassPathXmlApplicationContext("org/apache/camel/spring/spring_route_builder_test.xml");
+		ctx = new ClassPathXmlApplicationContext("org/apache/camel/spring/builder/spring_route_builder_test.xml");
 	}
 
 	@Override



Mime
View raw message