Camel 3.19 (CAMEL-18057) added routeId in rest-dsl.
On Fri, Jan 27, 2023 at 12:17 PM Nikola Glidzic <nikola.glid...@ikor.one> wrote: > Hi Claus, > > Thanks for answer. > > Actually, you can't do that anymore, because writing a route part in REST > DSL is not possible anymore and routeId("myId") comes from RouteDefinition, > but not from RestDefinition. > > We used Camel version 3.15.0 before and there we utilized route() and > routeId("myId") in REST DSL, now we switched to 3.18.4 and there is only > .id("myId") option for REST DSL. > That big change for REST DSL happened somewhere between versions 3.15.0 > and 3.18.0. You can inspect that in RestDefinition class. > > So currently, the problem explained in my first email exists. > > Kind Regards, > Nikola Glidzic > -- Claus Ibsen ----------------- @davsclaus Camel in Action 2: https://www.manning.com/ibsen2