You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2009/09/22 21:55:27 UTC

svn commit: r817803 - in /servicemix/smx4/features/trunk: examples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java examples/simple/quartz.xml pom.xml

Author: gertv
Date: Tue Sep 22 19:55:24 2009
New Revision: 817803

URL: http://svn.apache.org/viewvc?rev=817803&view=rev
Log:
SMX4-371/SMX4-372: Upgrade to servicemix-camel which is using Camel 2.0

Modified:
    servicemix/smx4/features/trunk/examples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java
    servicemix/smx4/features/trunk/examples/simple/quartz.xml
    servicemix/smx4/features/trunk/pom.xml

Modified: servicemix/smx4/features/trunk/examples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java?rev=817803&r1=817802&r2=817803&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java (original)
+++ servicemix/smx4/features/trunk/examples/camel/camel-simple-su/src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java Tue Sep 22 19:55:24 2009
@@ -16,20 +16,18 @@
  */
 package org.apache.servicemix.samples;
 
-import org.apache.camel.Exchange;
-import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 
 /**
  * A Camel Router
- *
+ * 
  * @version $Revision: 1.1 $
  */
 public class MyRouteBuilder extends RouteBuilder {
     public void configure() throws Exception {
 
-	    from("timer:myTimerEvent?fixedRate=true")
-			.setBody(constant("Hello World!")).
-				to("log:org.apache.servicemix.samples.camel.ExampleCamelRoute");
+        from("timer:myTimerEvent?fixedRate=true")
+            .setBody(constant("Hello World!"))
+            .to("log:org.apache.servicemix.samples.camel.ExampleCamelRoute");
     }
 }

Modified: servicemix/smx4/features/trunk/examples/simple/quartz.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/simple/quartz.xml?rev=817803&r1=817802&r2=817803&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/simple/quartz.xml (original)
+++ servicemix/smx4/features/trunk/examples/simple/quartz.xml Tue Sep 22 19:55:24 2009
@@ -19,7 +19,7 @@
        xmlns:util="http://www.springframework.org/schema/util"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:quartz="http://servicemix.apache.org/quartz/1.0"
-       xmlns:camel="http://activemq.apache.org/camel/schema/spring"
+       xmlns:camel="http://camel.apache.org/schema/spring"
        xmlns:osgi="http://www.springframework.org/schema/osgi"
        xmlns:b="http://servicemix.apache.org/examples/camel"
        xsi:schemaLocation="
@@ -33,8 +33,8 @@
          http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd
          http://servicemix.apache.org/quartz/1.0
          http://servicemix.apache.org/quartz/1.0/servicemix-quartz.xsd
-         http://activemq.apache.org/camel/schema/spring 
-         http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
+         http://camel.apache.org/schema/spring
+         http://camel.apache.org/schema/spring/camel-spring.xsd
          http://www.springframework.org/schema/osgi
          http://www.springframework.org/schema/osgi/spring-osgi.xsd">
 

Modified: servicemix/smx4/features/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=817803&r1=817802&r2=817803&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/pom.xml (original)
+++ servicemix/smx4/features/trunk/pom.xml Tue Sep 22 19:55:24 2009
@@ -203,7 +203,7 @@
       <servicemix-xmpp-version>2009.01</servicemix-xmpp-version>
       <servicemix-saxon-version>2009.01</servicemix-saxon-version>
       <servicemix-truezip-version>2009.01</servicemix-truezip-version>
-      <servicemix-camel-version>2009.01</servicemix-camel-version>
+      <servicemix-camel-version>2009.02-SNAPSHOT</servicemix-camel-version>
       <servicemix-cxf-bc-version>2009.02-SNAPSHOT</servicemix-cxf-bc-version>
       <servicemix-cxf-se-version>2009.02-SNAPSHOT</servicemix-cxf-se-version>
       <servicemix-drools-version>2009.01</servicemix-drools-version>