You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tuomas Palenius (Jira)" <ji...@apache.org> on 2022/09/28 09:38:00 UTC
[jira] [Created] (CAMEL-18565) Camel fails to start routes without failure message when routes-include-pattern has an invalid entry
Tuomas Palenius created CAMEL-18565:
---------------------------------------
Summary: Camel fails to start routes without failure message when routes-include-pattern has an invalid entry
Key: CAMEL-18565
URL: https://issues.apache.org/jira/browse/CAMEL-18565
Project: Camel
Issue Type: Bug
Components: came-core
Affects Versions: 3.18.1
Environment: Quarkus, with quarkus-camel-bom 2.12.2.Final
Reporter: Tuomas Palenius
In the application.yml we define route-include-pattern e.g.
{noformat}
camel:
context:
name: my-camel
main:
routes-include-pattern: |
classpath:routes/route1.yaml,
classpath:routes/route-2.yaml{noformat}
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)