Hi, if you can, please try to provide a reproducer (as described here:
https://camel.apache.org/camel-core/contributing/#_reporting_a_bug_or_problem
)

That may make it easier for the community to evaluate if there is a bug or
misconfiguration.

Kind regards

On Thu, Feb 8, 2024 at 3:18 AM Ja Li <jacli...@gmail.com> wrote:

> Hi there,
>
> when defining a route using .from() without specifying a .routeid() or
> .id() the route will not work. There's no exception or error message, it
> just doesn't get picked up.
> Seems very similar to that old and fixed bug:
> https://issues.apache.org/jira/browse/CAMEL-7986
>
> I am using the latest Camel Core 4.3.0
>
> Example:
>
> restConfiguration(...)
>
> rest("/api")
>
> .description("Test REST Service")
>
> .id("api-route")
>
> .post("/bean")
>
> .type(RequestTOPOJO.class)
>
> .to("direct:beanService");
>
>
> from("direct:beanService").routeId("direct-route").bean(MyBean.class);
>
> Kind regards
> Jacob
>


-- 
Otavio R. Piske
http://orpiske.net

Reply via email to