You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/03/12 06:18:43 UTC
[camel] 08/11: CAMEL-17571: camel-jbang - Support for spring @Bean annotations in custom beans
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch CAMEL-17571
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5334e55938022b8da6bbc8dc9e576255c1ea137a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Mar 11 22:04:00 2022 +0100
CAMEL-17571: camel-jbang - Support for spring @Bean annotations in custom beans
---
.../src/main/java/org/apache/camel/main/SpringAnnotationSupport.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/SpringAnnotationSupport.java b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/SpringAnnotationSupport.java
index 881e4b3..120d963 100644
--- a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/SpringAnnotationSupport.java
+++ b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/SpringAnnotationSupport.java
@@ -35,6 +35,9 @@ import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
+/**
+ * To support spring based annotations such as @Component/@Service, @Autowired/@Qualifier, @Value, and @Bean.
+ */
public final class SpringAnnotationSupport {
private SpringAnnotationSupport() {