This is an automated email from the ASF dual-hosted git repository. zbendhiba pushed a commit to branch 2.15.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 827adf66d2fd6acb11d78194bfa99c049100c354 Author: Zineb Bendhiba <[email protected]> AuthorDate: Mon Dec 12 20:23:50 2022 +0100 Fix name of bean in the CDI documentation --- docs/modules/ROOT/pages/user-guide/cdi.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/user-guide/cdi.adoc b/docs/modules/ROOT/pages/user-guide/cdi.adoc index a3322672f2..ef97787072 100644 --- a/docs/modules/ROOT/pages/user-guide/cdi.adoc +++ b/docs/modules/ROOT/pages/user-guide/cdi.adoc @@ -170,10 +170,10 @@ public class CamelRoute extends RouteBuilder { @Override public void configure() { from("direct:named") - .bean("namedBean", "hello"); + .bean("myNamedBean", "hello"); /* ... which is an equivalent of the following: */ from("direct:named") - .to("bean:namedBean?method=hello"); + .to("bean:myNamedBean?method=hello"); } } ----
