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 2023/03/24 09:39:00 UTC

[jira] [Resolved] (CAMEL-19156) XML route configurations ignored without both XML IO and JAXB XML loaded

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

Claus Ibsen resolved CAMEL-19156.
---------------------------------
    Fix Version/s:     (was: 3.20.4)
       Resolution: Fixed

> XML route configurations ignored without both XML IO and JAXB XML loaded
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-19156
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19156
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot
>    Affects Versions: 3.20.0, 3.20.2, 4.0-M2
>            Reporter: Jacek Szymański
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.21.0, 4.0-M3, 4.0
>
>
> XML route configurations are ignored unless both camel-xml-io-dsl-starter and camel-xml-jaxb-dsl-starter are loaded; XML routes are started without configurations.
> To reproduce:
>  * check out camel-spring-boot-examples, either main branch or camel-spring-boot-examples-3.20.0 tag
>  * navigate to routes-configuration subdir
>  * remove dependency on either DSL from pom.xml
>  * run mvn spring-boot:run
> Result:
> {{2023-03-15 15:10:37.665 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : Routes startup (started:3)}}
> {{2023-03-15 15:10:37.665 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : Started route1 (timer://java) (source: java:29)}}
> {{2023-03-15 15:10:37.665 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : Started route2 (timer://xml)}}
> {{2023-03-15 15:10:37.665 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : Started route3 (timer://yaml) (source: my-yaml-route.yaml:22)}}
> {{2023-03-15 15:10:37.665 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : Routes configuration:}}
> {{2023-03-15 15:10:37.665 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : route1 (javaError)}}
> {{2023-03-15 15:10:37.666 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : route3 (yamlError)}}
> {{2023-03-15 15:10:37.666 INFO 24848 — [ main] o.a.c.impl.engine.AbstractCamelContext : Apache Camel 3.20.0 (MyCamel) started in 1s43ms (build:80ms init:329ms start:634ms)}}
> XML route is loaded and started, but without the configurations. No error or warning is logged about missing configuration.



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