Tutorial: http://camel.apache.org/tutorial-osgi-camel-part1.html needs update
-----------------------------------------------------------------------------

                 Key: CAMEL-3290
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3290
             Project: Apache Camel
          Issue Type: Wish
          Components: osgi
    Affects Versions: 2.4.0
            Reporter: Amit Kumar


Tutorial: http://camel.apache.org/tutorial-osgi-camel-part1.html
Section: Step 6 : Create the Camel context file and OSGI dependency
File: CamelContext.xml

Issue: Schema reference needs correction.

Fix: Update the CamelContext.xml as follows -

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="
       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";>

  <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
    <route>
      <from uri="timer://myTimer?fixedRate=true&amp;period=10000"/>
      <bean ref="myTransform" method="transform"/>
      <to uri="log:ExampleRouter"/>
    </route>
  </camelContext>
</beans>
</verbose>

Also, commons-management [1.0] is another dependency added with apache-camel 
2.4.0. It will help if that can be highlighted on this tutorial as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to