[ 
https://issues.apache.org/jira/browse/CAMEL-19173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-19173:
--------------------------------
    Summary: Splitting long uris in xml-io DSL doesn't work  (was: Splitting 
long uris in XML DSL doesn't work)

> Splitting long uris in xml-io DSL doesn't work
> ----------------------------------------------
>
>                 Key: CAMEL-19173
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19173
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring-boot
>    Affects Versions: 3.20.0, 3.20.2, 4.0-M2
>            Reporter: Jacek Szymański
>            Priority: Minor
>
> Splitting long uris in XML DSL as described in 
> [https://camel.apache.org/manual/faq/how-do-i-configure-endpoints.html#HowdoIconfigureendpoints-Configuringlongurisusingnewlines]
>  doesn't work on camel-spring-boot
>  
> To reproduce:
>  * check out camel-spring-boot-examples
>  * navigate do the xml subdirectory
>  * in src/main/resources/camel/my-route.xml modify from thus:
> {{{}        <from uri="timer:hello?period={{timer.period{}}}}}&amp;amp;
> {{            repeatCount=10"/>}}
>  * run mvn spring-boot:run
> result:
> org.apache.camel.FailedToCreateRouteException: Failed to create route hello: 
> Route(hello)[From[timer:hello?period={{{}timer.period{}}}&      ... because 
> of Failed to resolve endpoint: 
> timer://hello?+++++++++++{+}{{+}}repeatCount=10&period=2000 due to: Failed to 
> resolve endpoint: timer://hello?{{+}}{+}+++++++++++repeatCount=10&period=2000 
> due to: There are 1 parameters that couldn't be set on the endpoint. Check 
> the uri if the parameters are spelt correctly and that they are properties of 
> the endpoint. Unknown parameters=[
> {             repeatCount=10}
> ]
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to