You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/10/17 13:34:16 UTC

[camel] branch camel-2.x updated (6223a78 -> 1374b22)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 6223a78  CAMEL-14072 FileInputStreamCache does not delete file if file system is full
     new 85b9223  Regen docs
     new 1374b22  Camel-SQL: Fixed Build

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 components/camel-sql/src/main/docs/sql-component.adoc        | 11 +++++++----
 components/camel-sql/src/main/docs/sql-stored-component.adoc | 11 +++++++----
 .../apache/camel/component/sql/stored/SqlStoredEndpoint.java | 12 +++++++++---
 3 files changed, 23 insertions(+), 11 deletions(-)


[camel] 02/02: Camel-SQL: Fixed Build

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1374b220cc3072612f9bb5fdc9bfd85f376bc87f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 17 15:33:37 2019 +0200

    Camel-SQL: Fixed Build
---
 components/camel-sql/src/main/docs/sql-component.adoc        |  4 +++-
 components/camel-sql/src/main/docs/sql-stored-component.adoc |  4 +++-
 .../apache/camel/component/sql/stored/SqlStoredEndpoint.java | 12 +++++++++---
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/components/camel-sql/src/main/docs/sql-component.adoc b/components/camel-sql/src/main/docs/sql-component.adoc
index 294fb8a..c39fa82 100644
--- a/components/camel-sql/src/main/docs/sql-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-component.adoc
@@ -1,6 +1,8 @@
+[[sql-component]]
 == SQL Component
 
 *Available as of Camel version 1.4*
+
 *Available as of Camel version 1.4*
 
 
@@ -876,4 +878,4 @@ To use this feature, add the following dependencies to your spring boot pom.xml
 </dependency>
 ----
 
-You should also include the specific database driver, if needed.
+You should also include the specific database driver, if needed.
\ No newline at end of file
diff --git a/components/camel-sql/src/main/docs/sql-stored-component.adoc b/components/camel-sql/src/main/docs/sql-stored-component.adoc
index 1481712..9d3888c 100644
--- a/components/camel-sql/src/main/docs/sql-stored-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-stored-component.adoc
@@ -1,6 +1,8 @@
+[[sql-stored-component]]
 == SQL Stored Procedure Component
 
 *Available as of Camel version 2.17*
+
 *Available as of Camel version 2.17*
 
 
@@ -278,4 +280,4 @@ To use this feature, add the following dependencies to your spring boot pom.xml
 </dependency>
 ----
 
-You should also include the specific database driver, if needed.
+You should also include the specific database driver, if needed.
\ No newline at end of file
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredEndpoint.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredEndpoint.java
index 6d80de9..b2fa2b3 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredEndpoint.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredEndpoint.java
@@ -31,7 +31,8 @@ import org.apache.camel.util.UnsafeUriCharactersEncoder;
 import org.springframework.jdbc.core.JdbcTemplate;
 
 /**
- * The sql component allows you to work with databases using JDBC Stored Procedure queries.
+ * The sql component allows you to work with databases using JDBC Stored
+ * Procedure queries.
  */
 @UriEndpoint(firstVersion = "2.17.0", scheme = "sql-stored", title = "SQL Stored Procedure", syntax = "sql-stored:template", producerOnly = true, label = "database,sql")
 public class SqlStoredEndpoint extends DefaultEndpoint {
@@ -52,8 +53,8 @@ public class SqlStoredEndpoint extends DefaultEndpoint {
     @UriParam(description = "If set, will ignore the results of the template and use the existing IN message as the OUT message for the continuation of processing")
     private boolean noop;
     @UriParam(description = "Store the template result in a header instead of the message body. By default, outputHeader == null and the template result is stored"
-            + " in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header"
-            + " to store the template result and the original message body is preserved.")
+                            + " in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header"
+                            + " to store the template result and the original message body is preserved.")
     private String outputHeader;
     @UriParam(description = "Whether this call is for a function.")
     private boolean function;
@@ -160,4 +161,9 @@ public class SqlStoredEndpoint extends DefaultEndpoint {
         this.function = function;
     }
 
+    @Override
+    public boolean isSingleton() {
+        return true;
+    }
+
 }


[camel] 01/02: Regen docs

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 85b9223846ebe80c262a3628d0efefca12be6c08
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 17 15:14:52 2019 +0200

    Regen docs
---
 components/camel-sql/src/main/docs/sql-component.adoc        | 9 +++++----
 components/camel-sql/src/main/docs/sql-stored-component.adoc | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/components/camel-sql/src/main/docs/sql-component.adoc b/components/camel-sql/src/main/docs/sql-component.adoc
index a011fe4..294fb8a 100644
--- a/components/camel-sql/src/main/docs/sql-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-component.adoc
@@ -1,7 +1,8 @@
-[[sql-component]]
-= SQL Component
+== SQL Component
 
 *Available as of Camel version 1.4*
+*Available as of Camel version 1.4*
+
 
 
 The *sql:* component allows you to work with databases using JDBC
@@ -136,7 +137,7 @@ sql:query
 
 with the following path and query parameters:
 
-=== Path Parameters (1 parameters):
+==== Path Parameters (1 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -146,7 +147,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (45 parameters):
+==== Query Parameters (45 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
diff --git a/components/camel-sql/src/main/docs/sql-stored-component.adoc b/components/camel-sql/src/main/docs/sql-stored-component.adoc
index 5da2d6e..1481712 100644
--- a/components/camel-sql/src/main/docs/sql-stored-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-stored-component.adoc
@@ -1,7 +1,8 @@
-[[sql-stored-component]]
-= SQL Stored Procedure Component
+== SQL Stored Procedure Component
 
 *Available as of Camel version 2.17*
+*Available as of Camel version 2.17*
+
 
 
 The *sql-stored:* component allows you to work with databases using JDBC
@@ -90,7 +91,7 @@ sql-stored:template
 
 with the following path and query parameters:
 
-=== Path Parameters (1 parameters):
+==== Path Parameters (1 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -100,7 +101,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (7 parameters):
+==== Query Parameters (7 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]