You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/07/24 08:37:42 UTC
[camel] branch main updated: fix(docs): add code notation (#10798)
This is an automated email from the ASF dual-hosted git repository.
pcongiusti 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 64f5e8e6d9e fix(docs): add code notation (#10798)
64f5e8e6d9e is described below
commit 64f5e8e6d9e6d6c5d485cdf626cdff0240964f98
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jul 24 10:37:36 2023 +0200
fix(docs): add code notation (#10798)
Fix the warning check:
```
YN0000: [build:antora ] [build:antora-perf] [07:04:34.320] WARN (asciidoctor): skipping reference to missing attribute: color
```
---
docs/user-manual/modules/ROOT/pages/route-template.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/user-manual/modules/ROOT/pages/route-template.adoc b/docs/user-manual/modules/ROOT/pages/route-template.adoc
index 68b41e855ff..6a396020f85 100644
--- a/docs/user-manual/modules/ROOT/pages/route-template.adoc
+++ b/docs/user-manual/modules/ROOT/pages/route-template.adoc
@@ -285,9 +285,9 @@ Then notice how the simple predicate is using _simple fluent builder_ `simple("{
This is **not supported** with route templates and would not work when creating multiple routes from the template.
Instead, the simple expression should be a literal String value _only_ as follows:
-
+----
.when(simple("'{{color}}' == 'red'")
-
+----
=== Using hardcoded node IDs in route templates
If route templates contains hardcoded node IDs then routes created from templates will use the same IDs