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

Camel fails to start routes without failure message when routes-include-pattern has an invalid entry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.18.1
    • 3.18.3, 3.20.0
    • came-core
    • None
    • Quarkus, with quarkus-camel-bom 2.12.2.Final

    • Unknown

    Description

      In the application.yml we define route-include-pattern e.g.
       

      camel:         
        context:
          name: my-camel
        main:
          routes-include-pattern: |
            classpath:routes/route1.yaml,
            classpath:routes/route-2.yaml

       
       
      When Camel fails to find any of the defined routes (e.g. route-2.yaml does not exist), the result is that Camel does not load any of them but fails silently. However the regular routes defined with the Java DSL do start. The problem is that there is no clear error message stating that there was failure to load routes.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            devituomas Tuomas Palenius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: