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 bf8b68026e8 Update docs
bf8b68026e8 is described below
commit bf8b68026e8b5592f23a94b8b95ea9fd28f89dff
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Aug 27 16:00:25 2025 +0200
Update docs
---
docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index f467bda0782..d9f74440687 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -2755,6 +2755,9 @@ This is typically in use when you use Java DSL and have
Camel routes in .java so
To let JBang understand which dependencies are in use, then you need to use
JBang style for specifying
dependencies by using `//DEPS` code comments in Java code.
+TIP: If you specify `//DEPS` in YAML DSL then this must be in the syntax as
`\#//DEPS`
+as YAML uses leading `#` in commented lines.
+
Given the following source file in `foo.java` file:
[source,java]