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 4d5a7cf5028 camel-jbang - More docs
4d5a7cf5028 is described below
commit 4d5a7cf5028254bbf447869a61d1abfa5b1c4611
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Apr 29 15:59:41 2022 +0200
camel-jbang - More docs
---
docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 776d3b14cdc..ffbd3e233fa 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -268,6 +268,14 @@ curl http://localhost:8080/hello
Hello World%
----
+=== Using Java beans and processors
+
+There is basic support for including regular Java source files together with
Camel routes,
+and let Camel JBang runtime compile the Java source. This means you can
include smaller utility
+classes, POJOs, Camel Processors and whatnot that the application needs.
+
+NOTE: The Java source files cannot use package names. This may change in the
future.
+
=== Dependency Injection in Java classes
When running Camel applications with camel-jbang, then the runtime is
`camel-main` based. This means