Jacek Szymański created CAMEL-19173:
---------------------------------------
Summary: Splitting long uris in XML DSL doesn't work
Key: CAMEL-19173
URL: https://issues.apache.org/jira/browse/CAMEL-19173
Project: Camel
Issue Type: Bug
Components: camel-spring-boot
Affects Versions: 4.0-M2, 3.20.2, 3.20.0
Reporter: Jacek Szymański
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}}&}}
{{ 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)