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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 1df6fc8d611 CAMEL-18642: camel-jbang - Update docs
1df6fc8d611 is described below

commit 1df6fc8d6119483209a8e1e5b48c6a8a61b8cc9d
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Oct 25 07:35:15 2022 +0200

    CAMEL-18642: camel-jbang - Update docs
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 793c952542c..e75e811deb1 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -1016,10 +1016,14 @@ based dependency injection in Java classes.
 
 ==== Using Camel dependency injection
 
-You can use the following Camel annotations (they work on all runtimes):
+You can use the following Camel annotations on Camel standalone:
 
 - `@org.apache.camel.BindToRegistry` on class level to create an instance of 
the class and register in the xref:registry.adoc[Registry].
 - `@org.apache.camel.Configuration` on class level to create an instance of 
the class and register in the xref:registry.adoc[Registry].
+
+And these annotations should work on all runtimes
+(if target runtime is either Quarkus or Spring Boot then favour using their 
annotations):
+
 - `@org.apache.camel.BeanInject` to dependency inject a bean on a class field.
 - `@org.apache.camel.PropertyInject` to inject a 
xref:using-propertyplaceholder.adoc[property placeholder]. Such as a property 
defined in `application.properties`.
 - `@org.apache.camel.BindToRegistry` on a method to create a bean by invoking 
the method.

Reply via email to