You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zb...@apache.org on 2022/12/13 16:07:47 UTC
[camel-quarkus] branch 2.13.x updated: Fix name of bean in the CDI documentation
This is an automated email from the ASF dual-hosted git repository.
zbendhiba pushed a commit to branch 2.13.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/2.13.x by this push:
new 88c3e096ad Fix name of bean in the CDI documentation
88c3e096ad is described below
commit 88c3e096ad285ae48cfaf3c3bbe47a2b58fd812a
Author: Zineb Bendhiba <be...@gmail.com>
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");
}
}
----