[
https://issues.apache.org/jira/browse/CAMEL-9771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216738#comment-15216738
]
Tomas Rohovsky commented on CAMEL-9771:
---------------------------------------
Adding XML routes will work if you remove the enclosing `beans` element, see
https://github.com/apache/camel/blob/master/components/camel-spring-boot/src/test/resources/camel/camelContext.xml
The question is if it is desired to skip the `beans` element. If not the
documentation should be updated to not confuse other people:
http://camel.apache.org/spring-boot.html#SpringBoot-AddingXMLroutes
> Adding XML routes with spring boot error
> ----------------------------------------
>
> Key: CAMEL-9771
> URL: https://issues.apache.org/jira/browse/CAMEL-9771
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot
> Affects Versions: 2.17.0
> Environment: Mac, Java 8. please visit
> https://github.com/qiuzhanghua/spring-boot-camel
> Reporter: qiuzhanghua
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)