Re: spring xml DSL to YAML dsl

2024-01-16 Thread Claus Ibsen
Hi No this is not possible out of the box with the old way of using WAR deployments. For Spring we focus on Spring Boot as the primary runtime. If you want to do old style WAR you can implement a web context listener ( I forgot what its called ) that bootstrap your app, and there you can

Re: spring xml DSL to YAML dsl

2024-01-10 Thread Federico Mariani
Hi, if I understand correctly, by default, in a camel-spring-boot application, you can put yaml routes under resources/camel folder and the route will be picked up automatically, for example, you can create a test.yaml file under resources/camel folder with the following route *- from:* *

Re: spring xml DSL to YAML dsl

2024-01-10 Thread Rohan Emmanuel
Hi Federico, thanks for the reply and the pointers. I was looking at the ContextLoader code which is referenced in the web.xml to load the context file containing the routes. This loads the applicationContext.xml file.

Re: spring xml DSL to YAML dsl

2024-01-05 Thread Federico Mariani
Hi Rohan, There is some documentation on the camel website https://camel.apache.org/components/4.0.x/others/yaml-dsl.html and you can take a look at the tests as well, but I'd recommend you to try https://karavan.space/ you can create your rest route graphically and export the yaml that can be

spring xml DSL to YAML dsl

2024-01-05 Thread Rohan Emmanuel
hi, i am creating a web app containing camel routes using camel-spring xml dsl containing REST dsl in applicationContext.xml(this is referred by configuring CamelHttpTransportServlet