Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16442

camel-spring-boot - Classpath discovery using wildcards for xml-io-dsl does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • 3.8.0, 3.9.0
    • 3.10.0
    • camel-spring-boot
    • None
    • Unknown

    Description

      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)

       

      Attachments

        1. camel-test-3.7.zip
          15 kB
          Giacomo Carnevale
        2. camel-test-3.9.zip
          15 kB
          Giacomo Carnevale

        Activity

          People

            lb Luca Burgazzoli
            carnevalegiacomo Giacomo Carnevale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: