You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/09/26 06:55:00 UTC

[jira] [Updated] (CAMEL-15581) Unable to load XML REST definitions with camel-main xmlRests config property

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

Claus Ibsen updated CAMEL-15581:
--------------------------------
    Fix Version/s: 3.4.5
                   3.6.0

> Unable to load XML REST definitions with camel-main xmlRests config property
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-15581
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15581
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-main
>    Affects Versions: 3.4.3, 3.5.0
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Major
>             Fix For: 3.6.0, 3.4.5
>
>
> I noticed an issue when trying to use the camel-main configuration property camel.main.xml-rests in Camel Quarkus. It results in:
> 2020-09-25 15:33:25,811 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.RuntimeCamelException: org.apache.camel.xml.io.XmlPullParserException: Expected starting tag '{http://camel.apache.org/schema/spring}routes', read starting tag '{http://camel.apache.org/schema/spring}rests' instead
> 	at org.apache.camel.RuntimeCamelException.wrapRuntimeException(RuntimeCamelException.java:66)
> 	at org.apache.camel.main.DefaultRoutesCollector.collectXmlRestsFromDirectory(DefaultRoutesCollector.java:219)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)