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 ad087c0649c Doc fix for website build
ad087c0649c is described below
commit ad087c0649c07ca6dcc6d3fa347abd76bb1494b7
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Apr 8 11:15:38 2022 +0200
Doc fix for website build
---
components/camel-mongodb/src/main/docs/mongodb-component.adoc | 4 +++-
components/camel-sql/src/main/docs/sql-component.adoc | 5 -----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/components/camel-mongodb/src/main/docs/mongodb-component.adoc
b/components/camel-mongodb/src/main/docs/mongodb-component.adoc
index 7d983340a9a..62f0024419b 100644
--- a/components/camel-mongodb/src/main/docs/mongodb-component.adoc
+++ b/components/camel-mongodb/src/main/docs/mongodb-component.adoc
@@ -259,7 +259,9 @@ collection.
[source,java]
------------------------------------------------------------------------------------------------------------------------------------
-//
from("direct:count").to("mongodb:myDb?database=tickets&collection=flights&operation=count&dynamicity=true");
+from("direct:count")
+
.to("mongodb:myDb?database=tickets&collection=flights&operation=count&dynamicity=true");
+
Long result = template.requestBodyAndHeader("direct:count", "irrelevantBody",
MongoDbConstants.COLLECTION, "dynamicCollectionName");
assertTrue("Result is not of type Long", result instanceof Long);
------------------------------------------------------------------------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/docs/sql-component.adoc
b/components/camel-sql/src/main/docs/sql-component.adoc
index 773a90224e8..554a4f4c4a7 100644
--- a/components/camel-sql/src/main/docs/sql-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-component.adoc
@@ -159,11 +159,6 @@ For `select` operations, the result is an instance of
http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/jdbc/core/JdbcTemplate.html#queryForList(java.lang.String,%20java.lang.Object%91%93)[JdbcTemplate.queryForList()]
method. For `update` operations, a `NULL` body is returned as the `update`
operation is only set as a header and never as a body.
-[NOTE]
-====
-See <<sql-component-header-values, Header values>> for more information on the
`update` operation.
-====
-
By default, the result is placed in the message body. If the
outputHeader parameter is set, the result is placed in the header. This
is an alternative to using a full message enrichment pattern to add