[ https://issues.apache.org/jira/browse/CAMEL-12735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aurélien Pupier updated CAMEL-12735: ------------------------------------ Description: for instance with this file, using the org.apache.camel.parser.XmlRouteParser.parseXmlRouteEndpoints(InputStream, String, String, List<CamelEndpointDetails>) method will not find the endpoint {quote}<?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>{quote} was: for instance with this file: {quote}<?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>{quote} > XmlRouteParser does not handle usage of xml namespace prefix for camel > ---------------------------------------------------------------------- > > Key: CAMEL-12735 > URL: https://issues.apache.org/jira/browse/CAMEL-12735 > Project: Camel > Issue Type: Improvement > Affects Versions: 2.22.0 > Reporter: Aurélien Pupier > Priority: Major > > for instance with this file, using the > org.apache.camel.parser.XmlRouteParser.parseXmlRouteEndpoints(InputStream, > String, String, List<CamelEndpointDetails>) method will not find the endpoint > {quote}<?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>{quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005)