Route templates: How to set custom route id

2021-04-23 Thread Klug Andreas (CI/OSI3)
Hello community, It might be a stupid question, but, for Camel 3.7.3, how do I set the route id for routes being created from route templates? The route templates are working fine, routes are getting created with route ids 0, 1, 2, and so on …, but e. g. for logging or monitoring purposes it’s v

Re: Route templates: How to set custom route id

2021-04-23 Thread Luca Burgazzoli
The signature for the method addRouteFromTemplate is: String addRouteFromTemplate(String routeId, String routeTemplateId, Map< String, Object> parameters) throws Exception; And the first argument is the route id, if null, then an auto generated one will be used --- Luca Burgazzoli On Fri,

RE: Route templates: How to set custom route id

2021-04-23 Thread Klug Andreas (CI/OSI3)
ject: Re: Route templates: How to set custom route id The signature for the method addRouteFromTemplate is: String addRouteFromTemplate(String routeId, String routeTemplateId, Map< String, Object> parameters) throws Exception; And the first argument is the route id, if null, then an aut

Re: Route templates: How to set custom route id

2021-04-23 Thread Luca Burgazzoli
sted but did you try to add route-id: "my-id" to the yaml ? > Best Regards > Andreas > > -Original Message- > From: Luca Burgazzoli > Sent: Freitag, 23. April 2021 17:34 > To: andreas.kl...@de.bosch.com.invalid > Cc: users@camel.apach

RE: Route templates: How to set custom route id

2021-04-26 Thread Klug Andreas (CI/OSI3)
emplate: config: "[4]": template-id: "template-route" ... Best Regards Andreas -Original Message- From: Luca Burgazzoli Sent: Freitag, 23. April 2021 18:31 To: users@camel.apache.org Subject: Re: Route templates

Re: Route templates: How to set custom route id

2021-04-26 Thread Luca Burgazzoli
config: > "[4]": > template-id: "template-route" > ... > > > Best Regards > Andreas > > -Original Message- > From: Luca Burgazzoli > Sent: Freitag, 23. April 2021 18:31 > To:

RE: Route templates: How to set custom route id

2021-04-26 Thread Klug Andreas (CI/OSI3)
Sure, Luca. It's CAMEL-16552. Best Regards Andreas -Original Message- From: Luca Burgazzoli Sent: Montag, 26. April 2021 09:54 To: users@camel.apache.org Subject: Re: Route templates: How to set custom route id ok, can you open an issue ? --- Luca Burgazzoli On Mon, Apr 26,