This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new d940cc1  Use *.camel.yaml file name pattern
d940cc1 is described below

commit d940cc1047e352ff6b1878191f057c93e455ff0e
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Tue Mar 12 10:35:27 2024 +0100

    Use *.camel.yaml file name pattern
    
    it allows tooling to propose specific editor and associate yaml schema
    automatically
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 aot-basic/readme.adoc                                                   | 2 +-
 aot-basic/routes/{demo-route.yaml => demo-route.camel.yaml}             | 0
 .../resources/myroutes/{my-yaml-route.yaml => my-yaml-route.camel.yaml} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/aot-basic/readme.adoc b/aot-basic/readme.adoc
index 4401a8e..0046013 100644
--- a/aot-basic/readme.adoc
+++ b/aot-basic/readme.adoc
@@ -58,7 +58,7 @@ Your application will start in native mode. The output of the 
application should
 2023-06-22T20:22:57.266+02:00  INFO 12741 --- [           main] 
o.a.c.impl.engine.AbstractCamelContext   : Apache Camel 4.0.0-SNAPSHOT 
(MyCamelNative) started in 14ms (build:0ms init:0ms start:14ms)
 2023-06-22T20:22:57.266+02:00  INFO 12741 --- [           main] 
sample.camel.Application                 : Started Application in 0.144 seconds 
(process running for 0.159)
 2023-06-22T20:22:58.258+02:00  INFO 12741 --- [ - timer://java] helloJava      
                          : Hello World From Java I am invoked 1 times at Thu 
Jun 22 20:22:58 CEST 2023
-2023-06-22T20:22:58.269+02:00  INFO 12741 --- [ - timer://yaml] 
demo-route.yaml:6                        : Hello World from YAML at Thu Jun 22 
20:22:58 CEST 2023
+2023-06-22T20:22:58.269+02:00  INFO 12741 --- [ - timer://yaml] 
demo-route.camel.yaml:6                        : Hello World from YAML at Thu 
Jun 22 20:22:58 CEST 2023
 2023-06-22T20:22:58.269+02:00  INFO 12741 --- [3 - timer://xml] 
my-route.xml:30                          : Hello World From XML at Thu Jun 22 
20:22:58 CEST 2023
 ----
 
diff --git a/aot-basic/routes/demo-route.yaml 
b/aot-basic/routes/demo-route.camel.yaml
similarity index 100%
rename from aot-basic/routes/demo-route.yaml
rename to aot-basic/routes/demo-route.camel.yaml
diff --git 
a/routes-configuration/src/main/resources/myroutes/my-yaml-route.yaml 
b/routes-configuration/src/main/resources/myroutes/my-yaml-route.camel.yaml
similarity index 100%
rename from routes-configuration/src/main/resources/myroutes/my-yaml-route.yaml
rename to 
routes-configuration/src/main/resources/myroutes/my-yaml-route.camel.yaml

Reply via email to