[ 
https://issues.apache.org/jira/browse/CAMEL-12735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582525#comment-16582525
 ] 

ASF GitHub Bot commented on CAMEL-12735:
----------------------------------------

apupier opened a new pull request #2479: CAMEL-12735 - provide test showing 
XMlRouteParser doesn't support
URL: https://github.com/apache/camel/pull/2479
 
 
   namespace prefix
   
   Signed-off-by: Aurélien Pupier <apup...@redhat.com>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>          Components: tooling
>    Affects Versions: 2.22.0
>            Reporter: Aurélien Pupier
>            Priority: Major
>             Fix For: 2.22.1, 2.23.0
>
>
> 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
> {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