Details
-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.1.0
-
None
-
None
Description
Create a new project using servicemix-osgi-camel-archetype.
An example camel route is created, but does not display in the design view. The Spring xml has the route defined like this:
<osgi:camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="timer://myTimer?fixedRate=true&period=2000"/>
<bean method="transform" ref="myTransform"/>
<to uri="log:ExampleRouter"/>
</route>
</osgi:camelContext>
--> Should the element that encloses the route be <camelContext xmlns="http://camel.apache.org/schema/spring"> instead?
--> There is also this element visible in when switching to the Source view of camel-context.xml:
<camelContext xmlns="http://camel.apache.org/schema/spring">
<route/>
</camelContext>