Hi, There was a matching ending tag for routeContex. (the routes.xml was quite large, so I had pasted only a section of it)
Issue is not because of invalid XMl but because of namespace but not able to figure it out <routeContext id="example_routes" xmlns="http://camel.apache.org/schema/spring"> <route id="Example_route_simulatorMICS" > <from uri="file:/opt/share/Example_EventFileInput?move=.event-done"/> <setHeader headerName="messageType"> <simple>MICS</simple> </setHeader> <to uri="jms:queue:queue.incomingEvents?preserveMessageQos=true"/> </route> </routeContext> -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-routeContextRef-under-camel-camelContext-tp5729133p5729258.html Sent from the Camel - Users mailing list archive at Nabble.com.