Please check
https://camel.apache.org/manual/camel-3x-upgrade-guide-3_16.html#_removed_support_for_embedded_routes

On Tue, Jul 19, 2022 at 8:49 PM Chio Chuan Ooi <chioch...@gmail.com> wrote:

> Hi Mates,
>
> i used to create the rest route using below which we can set the routeid.
> But in the latest 3.18.0 version, the "route()" method is no longer
> available, so I cannot set the route id for rest route.
>
> rest("/users/")
> .post("lives").type(UserPojo.class).outType(CountryPojo.class)
> .route().routeId("test");
>
> Any advice on how to set the routeid for rest route?
>
> Thanks and Regards,
> Chio Chuan
>

Reply via email to