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