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 07:53:19 UTC
[camel-quarkus] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new aae6f27770 Fix name of bean in the CDI documentation
aae6f27770 is described below
commit aae6f277708687f9c540e1c074042073f5bc162d
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");
}
}
----