Aurélien Pupier created CAMEL-12735:
---------------------------------------

             Summary: XmlRouteParser.parseXmlRouteEndpoints doesn't find 
endpoints when an xml namespace prefix is used
                 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


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}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to