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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 3.8.0, 3.9.0
    • Fix Version/s: 3.10.0
    • Component/s: camel-spring-boot
    • Labels:
      None
    • Environment:
    • Estimated Complexity:
      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.9.zip
          15 kB
          Giacomo Carnevale
        2. camel-test-3.7.zip
          15 kB
          Giacomo Carnevale

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              carnevalegiacomo Giacomo Carnevale

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment