You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/04/28 19:50:56 UTC

[camel-quarkus] branch main updated: Document the possibility to use CDI beans with camel bean component #2491

This is an automated email from the ASF dual-hosted git repository.

acosentino 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 a0d73c3  Document the possibility to use CDI beans with camel bean component #2491
a0d73c3 is described below

commit a0d73c351fc8291020a3dceb0c85c639392c05e7
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Wed Apr 28 20:58:02 2021 +0200

    Document the possibility to use CDI beans with camel bean component #2491
---
 docs/modules/ROOT/pages/reference/extensions/bean.adoc | 7 +++++++
 extensions/bean/runtime/src/main/doc/usage.adoc        | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/docs/modules/ROOT/pages/reference/extensions/bean.adoc b/docs/modules/ROOT/pages/reference/extensions/bean.adoc
index 32a95e5..fb3c5d3 100644
--- a/docs/modules/ROOT/pages/reference/extensions/bean.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/bean.adoc
@@ -40,3 +40,10 @@ Or add the coordinates to your existing project:
 ----
 
 Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
+
+== Usage
+
+Except for invoking methods of beans available in Camel registry,
+Bean component and Bean method language can also invoke Quarkus CDI beans.
+For more details, please refer to the xref:user-guide/user-guide/cdi.adoc#_cdi_and_the_camel_bean_component[CDI and the Camel Bean component] section of the User guide.
+
diff --git a/extensions/bean/runtime/src/main/doc/usage.adoc b/extensions/bean/runtime/src/main/doc/usage.adoc
new file mode 100644
index 0000000..ffda65b
--- /dev/null
+++ b/extensions/bean/runtime/src/main/doc/usage.adoc
@@ -0,0 +1,3 @@
+Except for invoking methods of beans available in Camel registry,
+Bean component and Bean method language can also invoke Quarkus CDI beans.
+For more details, please refer to the xref:user-guide/user-guide/cdi.adoc#_cdi_and_the_camel_bean_component[CDI and the Camel Bean component] section of the User guide.
\ No newline at end of file