Re: BUG - missing configuration placeholder possibility for id in REST DSL

2022-12-12 Thread Babak Vahdat
Hi I ran into a similar but not the same issue I’m working on to fix and PR soon. https://issues.apache.org/jira/browse/CAMEL-18809 — Babak > On 12 Dec 2022, at 13:24, Nikola Glidzic wrote: > > Sorry guys, I didn't know image can't be sent.

Re: BUG - missing configuration placeholder possibility for id in REST DSL

2022-12-12 Thread Claus Ibsen
Hi Ah okay, yeah its not very common to use placeholders for ids and therefore it's not resolved there before. Yes you are welcome to create a JIRA and send a PR for this improvement On Mon, Dec 12, 2022 at 1:28 PM Nikola Glidzic wrote: > Sorry guys, I didn't know image can't be sent. Combine t

RE: BUG - missing configuration placeholder possibility for id in REST DSL

2022-12-12 Thread Nikola Glidzic
Sorry guys, I didn't know image can't be sent. Combine this email with previous one. Here is the relevant part of code of method forceAssignIds(), mentioned lines are marked with arrows: public static void forceAssignIds(CamelContext context, List routes) throws Exception { ExtendedCame

BUG - missing configuration placeholder possibility for id in REST DSL

2022-12-12 Thread Nikola Glidzic
Hello Camel crew, I think there is a bug when using placeholder for route id in REST DSL route. I am using Camel 3.18.4, but same problem exists in previous versions as well. I want my REST route to have my custom route id loaded from configuration by using configuration placeholder, like this: