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/12/07 13:44:10 UTC

svn commit: r1043012 - /camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/config/myCoolRoutes.xml

Author: davsclaus
Date: Tue Dec  7 12:44:10 2010
New Revision: 1043012

URL: http://svn.apache.org/viewvc?rev=1043012&view=rev
Log:
Updated example to include all the xml crap you need

Modified:
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/config/myCoolRoutes.xml

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/config/myCoolRoutes.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/config/myCoolRoutes.xml?rev=1043012&r1=1043011&r2=1043012&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/config/myCoolRoutes.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/config/myCoolRoutes.xml Tue Dec  7 12:44:10 2010
@@ -15,6 +15,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
+<!-- START SNIPPET: e1 -->
 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
@@ -22,9 +23,7 @@
        http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
     ">
 
-    <!-- START SNIPPET: e1 -->
     <!-- this is an included XML file where we only the the routeContext -->
-
     <routeContext id="myCoolRoutes" xmlns="http://camel.apache.org/schema/spring">
         <!-- we can have a route -->
         <route id="cool">
@@ -37,6 +36,6 @@
             <to uri="mock:bar"/>
         </route>
     </routeContext>
-    <!-- END SNIPPET: e1 -->
 
 </beans>
+<!-- END SNIPPET: e1 -->