You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/08/18 01:18:57 UTC
svn commit: r875068 - in /websites/production/camel/content:
book-component-appendix.html book-in-one-page.html cache/main.pageCache
jdbc.html
Author: buildbot
Date: Sat Aug 17 23:18:57 2013
New Revision: 875068
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/book-component-appendix.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/jdbc.html
Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Sat Aug 17 23:18:57 2013
@@ -8432,8 +8432,8 @@ To do that set the header <tt>CamelRetri
<h3><a shape="rect" name="BookComponentAppendix-Usingnamedparameters"></a>Using named parameters</h3>
<p><b>Available as of Camel 2.12</b></p>
-<p>In the given route below, we want to get all the projects from the projects table. Notice the SQL query has 2 named parameters, :#lic and :#min.<br clear="none">
-Camel will then lookup for these parameters from the message body or message headers. Notice in the example above we set two headers with constant value<br clear="none">
+<p>In the given route below, we want to get all the projects from the projects table. Notice the SQL query has 2 named parameters, :?lic and :?min.<br clear="none">
+Camel will then lookup these parameters from the message headers. Notice in the example above we set two headers with constant value<br clear="none">
for the named parameters:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
@@ -8441,7 +8441,7 @@ for the named parameters:</p>
from("direct:projects")
.setHeader("lic", constant("ASF"))
.setHeader("min", constant(123))
- .setBody("select * from projects where license = :#lic and id > :#min order by id")
+ .setBody("select * from projects where license = :?lic and id > :?min order by id")
.to("jdbc:myDataSource?useHeadersAsParameters=true")
]]></script>
</div></div>
Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Sat Aug 17 23:18:57 2013
@@ -29899,8 +29899,8 @@ To do that set the header <tt>CamelRetri
<h3><a shape="rect" name="BookInOnePage-Usingnamedparameters"></a>Using named parameters</h3>
<p><b>Available as of Camel 2.12</b></p>
-<p>In the given route below, we want to get all the projects from the projects table. Notice the SQL query has 2 named parameters, :#lic and :#min.<br clear="none">
-Camel will then lookup for these parameters from the message body or message headers. Notice in the example above we set two headers with constant value<br clear="none">
+<p>In the given route below, we want to get all the projects from the projects table. Notice the SQL query has 2 named parameters, :?lic and :?min.<br clear="none">
+Camel will then lookup these parameters from the message headers. Notice in the example above we set two headers with constant value<br clear="none">
for the named parameters:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
@@ -29908,7 +29908,7 @@ for the named parameters:</p>
from("direct:projects")
.setHeader("lic", constant("ASF"))
.setHeader("min", constant(123))
- .setBody("select * from projects where license = :#lic and id > :#min order by id")
+ .setBody("select * from projects where license = :?lic and id > :?min order by id")
.to("jdbc:myDataSource?useHeadersAsParameters=true")
]]></script>
</div></div>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/jdbc.html
==============================================================================
--- websites/production/camel/content/jdbc.html (original)
+++ websites/production/camel/content/jdbc.html Sat Aug 17 23:18:57 2013
@@ -148,8 +148,8 @@ To do that set the header <tt>CamelRetri
<h3><a shape="rect" name="JDBC-Usingnamedparameters"></a>Using named parameters</h3>
<p><b>Available as of Camel 2.12</b></p>
-<p>In the given route below, we want to get all the projects from the projects table. Notice the SQL query has 2 named parameters, :#lic and :#min.<br clear="none">
-Camel will then lookup for these parameters from the message body or message headers. Notice in the example above we set two headers with constant value<br clear="none">
+<p>In the given route below, we want to get all the projects from the projects table. Notice the SQL query has 2 named parameters, :?lic and :?min.<br clear="none">
+Camel will then lookup these parameters from the message headers. Notice in the example above we set two headers with constant value<br clear="none">
for the named parameters:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
@@ -157,7 +157,7 @@ for the named parameters:</p>
from("direct:projects")
.setHeader("lic", constant("ASF"))
.setHeader("min", constant(123))
- .setBody("select * from projects where license = :#lic and id > :#min order by id")
+ .setBody("select * from projects where license = :?lic and id > :?min order by id")
.to("jdbc:myDataSource?useHeadersAsParameters=true")
]]></script>
</div></div>