Re: YAML DSL route loader seems to ignore "id" attribute

2023-10-19 Thread Claus Ibsen
On Thu, Oct 19, 2023 at 6:13 PM Steffen Salewski wrote: > Hello Pasquale , > > thank you very much! Setting the ID on the correct node let the route id > having the correct value now. It just works! > > Maybe the example for YAML can be added to the FAQ at > https://camel.apache.org/manual/faq/ho

AW: YAML DSL route loader seems to ignore "id" attribute

2023-10-19 Thread Steffen Salewski
Hello Pasquale , thank you very much! Setting the ID on the correct node let the route id having the correct value now. It just works! Maybe the example for YAML can be added to the FAQ at https://camel.apache.org/manual/faq/how-do-i-name-my-routes.html, as this was the source of my informatio

Re: YAML DSL route loader seems to ignore "id" attribute

2023-10-19 Thread Pasquale Congiusti
Hello Steffen, and welcome to Apache Camel :) The problem you're facing is related to the way you're coding the yaml as the ID is a configuration you can override for the route (as you can also see in the xml dsl). Try this one instead: - route: id: myRoute2 from: uri: "timer:yaml"

YAML DSL route loader seems to ignore "id" attribute

2023-10-19 Thread Steffen Salewski
Hello, first of all: This is my very first mail in this mailing list, and I am still learning the potential of Camel, so please give me any advise if I can make better 🙂 Summary: I want to manage routes at runtime, and for this it is essential that I can identify a rule by its ID so that I am