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 09:23:39 UTC
[camel] branch main updated: fix(docs): added an escape to fix a build warning
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 21353bb750b fix(docs): added an escape to fix a build warning
21353bb750b is described below
commit 21353bb750b15c0718c9a48edc27e409df6a5bd0
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jul 24 11:23:32 2023 +0200
fix(docs): added an escape to fix a build warning
---
docs/user-manual/modules/ROOT/pages/route-template.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/user-manual/modules/ROOT/pages/route-template.adoc b/docs/user-manual/modules/ROOT/pages/route-template.adoc
index 6a396020f85..1fc276c92ef 100644
--- a/docs/user-manual/modules/ROOT/pages/route-template.adoc
+++ b/docs/user-manual/modules/ROOT/pages/route-template.adoc
@@ -281,7 +281,7 @@ public class MyRouteTemplates extends RouteBuilder {
}
----
-Then notice how the simple predicate is using _simple fluent builder_ `simple("{{color}}").isEqualTo("red")`.
+Then notice how the simple predicate is using _simple fluent builder_ `simple("{\{color}}").isEqualTo("red")`.
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: