camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krass...@apache.org
Subject svn commit: r887924 - /camel/trunk/examples/camel-example-gae/src/main/resources/context.xml
Date Mon, 07 Dec 2009 13:52:29 GMT
Author: krasserm
Date: Mon Dec  7 13:52:28 2009
New Revision: 887924

URL: http://svn.apache.org/viewvc?rev=887924&view=rev
Log:
Usage of Camel XML schema for Spring in GAE example

Modified:
    camel/trunk/examples/camel-example-gae/src/main/resources/context.xml

Modified: camel/trunk/examples/camel-example-gae/src/main/resources/context.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-gae/src/main/resources/context.xml?rev=887924&r1=887923&r2=887924&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-gae/src/main/resources/context.xml (original)
+++ camel/trunk/examples/camel-example-gae/src/main/resources/context.xml Mon Dec  7 13:52:28
2009
@@ -1,13 +1,16 @@
 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:camel="http://camel.apache.org/schema/spring"
        xsi:schemaLocation="
-http://www.springframework.org/schema/beans
-http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+http://www.springframework.org/schema/beans 
+http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+http://camel.apache.org/schema/spring
+http://camel.apache.org/schema/spring/camel-spring.xsd">
     
-    <bean id="camelContext" 
-        class="org.apache.camel.component.gae.context.GaeSpringCamelContext">
-        <property name="routeBuilder" ref="tutorialRouteBuilder" />
-    </bean>
+    <camel:camelContext id="camelContext">
+        <camel:jmxAgent id="agent" disabled="true" />
+        <camel:routeBuilder ref="tutorialRouteBuilder"/>
+    </camel:camelContext>
     
     <bean id="tutorialRouteBuilder"
         class="org.apache.camel.example.gae.TutorialRouteBuilder">



Mime
View raw message