Details
Description
for instance with this file content, using the org.apache.camel.parser.XmlRouteParser.parseXmlRouteEndpoints(InputStream, String, String, List<CamelEndpointDetails>) method will not find the endpoint
<?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.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/spring">
<camel:endpoint uri="timer:timerName?delay=p"/>
<camel:route id="a route">
<camel:from id="_from1" uri="timer:timerName?delay=1000"/>
<camel:to id="_to1" uri="direct:drink"/>
</camel:route>
</camel:camelContext>
</beans>
Attachments
Issue Links
- is related to
-
CAMEL-12114 Have XmlLineNumberParser respecting namespace uri
- Resolved
- relates to
-
CAMEL-12114 Have XmlLineNumberParser respecting namespace uri
- Resolved
- links to