diff --git a/docs/src/reference/docbook/jdbc.xml b/docs/src/reference/docbook/jdbc.xml
index 8b23b589f2..aa2b0966c3 100644
--- a/docs/src/reference/docbook/jdbc.xml
+++ b/docs/src/reference/docbook/jdbc.xml
@@ -431,7 +431,9 @@
this attribute specifies the function name.
Required.
- sql-parameter-source-factory
+ sql-parameter-source-factory
+ (Not available for the Stored Procedure Inbound Channel Adapter.)
+
Reference to a SqlParameterSourceFactory.
@@ -444,9 +446,36 @@
This may be sufficient for basic use cases. For more
sophisticated options, consider passing in one or more
ProcedureParameter. Please also refer to
-
+ .
Optional.
+
+ use-payload-as-parameter-source
+ (Not available for the Stored Procedure Inbound Channel Adapter.)
+
+
+ If set to true, the payload of the Message
+ will be used as a source for providing parameters.
+ If false, however, the entire Message will be available as a
+ source for parameters.
+
+
+ If no Procedure Parameters are passed in, this property
+ will default to true. This means that using a default
+ BeanPropertySqlParameterSourceFactory
+ the bean properties of the payload will be used as a
+ source for parameter values for the to-be-executed
+ Stored Procedure or Stored Function.
+
+
+ However, if Procedure Parameters are passed in, then
+ this property will by default evaluate to false.
+ ProcedureParameter allow for
+ SpEL Expressions to be provided and therefore it is
+ highly beneficial to have access to the entire Message. The property
+ is set on the underlying StoredProcExecutor.
+ Optional.
+
@@ -726,7 +755,8 @@
ignore-column-meta-data="false"
order="" ]]>
+ sql-parameter-source-factory=""
+ use-payload-as-parameter-source="">
@@ -775,7 +805,8 @@
reply-timeout="" ]]>
+ sql-parameter-source-factory=""
+ use-payload-as-parameter-source="">
@@ -841,7 +872,7 @@
update counts, thus the value defaults to true.
Optional.
-
+
diff --git a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd
index 5f8d484cd6..44cc7b1352 100644
--- a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd
+++ b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd
@@ -644,26 +644,24 @@
-
-
-
-
-
+
+
+
@@ -796,26 +794,24 @@
-
-
-
-
-
+
+
+