Giacomo Carnevale created CAMEL-16442:
-----------------------------------------
Summary: Camel 3.9 - Spring Boot XML routes
Key: CAMEL-16442
URL: https://issues.apache.org/jira/browse/CAMEL-16442
Project: Camel
Issue Type: Bug
Components: camel-spring-boot
Affects Versions: 3.9.0, 3.8.0
Environment: *[^camel-test-3.7.zip]*
*[^camel-test-3.9.zip]*
_mvn clean verify (required docker)_
_camel-test-3.7 -> ok_
_camel-test-3.9 -> ko_
_Docker cmd: java -jar /opt/app/app.jar (app.jar is jar created in repackage
goal)_
Reporter: Giacomo Carnevale
Fix For: 3.7.3
Attachments: camel-test-3.7.zip, camel-test-3.9.zip
Hi
I have a Spring Boot application with camel-cxf-starter ad xml routes.
When I upgraded the camel version from 3.7.3 to 3.9.0, at startup time 0 routes
are loaded/started.
The routes directory is src/main/resources/camel.
Route example src/main/resources/camel/webService.xml:
_<routes xmlns="http://camel.apache.org/schema/spring">_
_<route id="webService">_
_<from uri="cxf:bean:ScaService_v1.0-endpoint"/>_
_<onException>_
_<exception>java.lang.Exception</exception>_
_<handled>_
_<constant>true</constant>_
_</handled>_
_<process ref="errorManager"/>_
_</onException>_
_<to uri="direct:gestoreRotte"/>_
_</route>_
_</routes>_
Spring boot version: 2.4.4
*Camel 3.7*
*INFO Total 22 routes, of which 22 are started*
*INFO Apache Camel 3.7.3 (camel-1) started in 714ms*
*Camel 3.9*
*INFO Routes startup summary (total:0 started:0)*
*INFO Apache Camel 3.9.0 (camel-1) started in 103ms (build:44ms init:53ms
start:6ms)*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)