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
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,
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
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
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
config:
> "[4]":
> template-id: "template-route"
> ...
>
>
> Best Regards
> Andreas
>
> -Original Message-
> From: Luca Burgazzoli
> Sent: Freitag, 23. April 2021 18:31
> To:
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,