[ 
https://issues.apache.org/jira/browse/CAMEL-19887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aurélien Pupier updated CAMEL-19887:
------------------------------------
    Description: 
when a file is named *.yml, it is not recognized by Camel JBang. it would be 
nice to have it working with it as some users prfer to use yml instead of yaml 
extension

currently when trying to use an *.camel.yml file, the route is not found:

{noformat}
2023-09-20 11:35:12.604  INFO 162959 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.0.0 is starting
2023-09-20 11:35:12.667  INFO 162959 --- [           main] 
org.apache.camel.main.MainSupport   : Additional files added to classpath: 
route2.camel.yml
2023-09-20 11:35:12.833  INFO 162959 --- [           main] 
org.apache.camel.main.MainSupport   : Using Java 17.0.3 with PID 162959. 
Started by apupier in /home/apupier/ws/kaoto2
2023-09-20 11:35:13.487  INFO 162959 --- [           main] 
mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
2023-09-20 11:35:13.521  INFO 162959 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.0.0 (CamelJBang) is 
starting
2023-09-20 11:35:13.703  INFO 162959 --- [           main] 
el.impl.engine.AbstractCamelContext : Routes startup (started:0)
2023-09-20 11:35:13.704  INFO 162959 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.0.0 (CamelJBang) started 
in 182ms (build:0ms init:0ms start:182ms)
{noformat}

  was:when a file is named *.yml, it is not recognized by Camel JBang. it would 
be nice to have it working with it as some users prfer to use yml instead of 
yaml extension


> Support *.yml files for Camel JBang
> -----------------------------------
>
>                 Key: CAMEL-19887
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19887
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>    Affects Versions: 4.0.0
>            Reporter: Aurélien Pupier
>            Priority: Major
>
> when a file is named *.yml, it is not recognized by Camel JBang. it would be 
> nice to have it working with it as some users prfer to use yml instead of 
> yaml extension
> currently when trying to use an *.camel.yml file, the route is not found:
> {noformat}
> 2023-09-20 11:35:12.604  INFO 162959 --- [           main] 
> org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.0.0 is starting
> 2023-09-20 11:35:12.667  INFO 162959 --- [           main] 
> org.apache.camel.main.MainSupport   : Additional files added to classpath: 
> route2.camel.yml
> 2023-09-20 11:35:12.833  INFO 162959 --- [           main] 
> org.apache.camel.main.MainSupport   : Using Java 17.0.3 with PID 162959. 
> Started by apupier in /home/apupier/ws/kaoto2
> 2023-09-20 11:35:13.487  INFO 162959 --- [           main] 
> mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
> 2023-09-20 11:35:13.521  INFO 162959 --- [           main] 
> el.impl.engine.AbstractCamelContext : Apache Camel 4.0.0 (CamelJBang) is 
> starting
> 2023-09-20 11:35:13.703  INFO 162959 --- [           main] 
> el.impl.engine.AbstractCamelContext : Routes startup (started:0)
> 2023-09-20 11:35:13.704  INFO 162959 --- [           main] 
> el.impl.engine.AbstractCamelContext : Apache Camel 4.0.0 (CamelJBang) started 
> in 182ms (build:0ms init:0ms start:182ms)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to