Author: buildbot
Date: Wed Sep 18 14:21:36 2013
New Revision: 878960
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/camel-2130-release.html
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 Wed Sep 18
14:21:36 2013
@@ -8436,7 +8436,8 @@ jdbc:dataSourceName[?options]
<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>readSize</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The default maximum number of rows that can be read by a
polling query. The default value is 0. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>statement.<xxx></tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Sets additional
options on the <tt>java.sql.Statement</tt> that is used behind the scenes to
execute the queries. For instance, <tt>statement.maxRows=10</tt>. For detailed
documentation, see the <a shape="rect" class="external-l
ink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html"
rel="nofollow"><tt>java.sql.Statement</tt> javadoc</a> documentation.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>useJDBC4ColumnNameAndLabelSemantics</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.2:</b> Sets whether to use JDBC 4/3 column
label/name semantics. You can use this option to turn it <tt>false</tt> in case
you have issues with your JDBC driver to select data. This only applies when
using <tt>SQL SELECT</tt> using aliases (e.g. <tt>SQL SELECT id as identifier,
name as given_name from persons</tt>). </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>resetAutoCommit</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Camel will set the
autoCommit on the JDBC connection to be
false, commit the change after executed the statement and reset the
autoCommit flag of the connection at the end, if the resetAutoCommit is true.
If the JDBC connection doesn't support to reset the autoCommit flag, you can
set the resetAutoCommit flag to be false, and Camel will not try to reset the
autoCommit flag.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>allowNamedParameters</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Whether to allow using named
parameters in the queries. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>prepareStatementStrategy</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Allows to plugin to use a custom
<tt>org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy</tt> to
control preparation of the query and prepared st
atement. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>useHeadersAsParameters</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Set this option to <tt>true</tt> to
use the <tt>prepareStatementStrategy</tt> with named parameters. This allows to
define queries with named placeholders, and use headers with the dynamic values
for the query placeholders. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>outputType</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>SelectList</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12.1:</b> Make the output of the producer to
SelectList as List of Map, or SelectOne as single Java object in the following
way:<br clear="none">
a) If the query has only single column, then that JDBC Column object is
returned. (such as SELECT COUNT( * ) FROM PROJECT will return a Long object.<br
clear="none">
b) If the query has more than one column, then it will return a Map of that
result.<br clear="none">
-c) If the query resulted in more than one rows, it throws an non-unique result
exception.</td></tr><tr><td></td></tr></tbody></table>
+c) If the outputClass is set, then it will convert the query result into an
Java bean object by calling all the setters that match the column names. It
will assume your class has a default constructor to create instance with.<br
clear="none">
+d) If the query resulted in more than one rows, it throws an non-unique result
exception.</td></tr><tr><td></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>outputClass</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12.1:</b> Specify the full package and class
name to use as conversion when outputType=SelectOne. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>beanRowMapper</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.12.1:</b> To use a custom
<tt>org.apache.camel.component.jdbc.BeanRowMapper</tt> when using
<tt>outputClass</tt>. The default implementation will lower case the row names
and skip underscores, and dashes. For example <tt>"CUST_ID"</tt> is mapped as
<tt>"custId"</tt>. </td></tr></tbody></table>
</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 Wed Sep 18 14:21:36
2013
@@ -29891,7 +29891,8 @@ jdbc:dataSourceName[?options]
<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>readSize</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The default maximum number of rows that can be read by a
polling query. The default value is 0. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>statement.<xxx></tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Sets additional
options on the <tt>java.sql.Statement</tt> that is used behind the scenes to
execute the queries. For instance, <tt>statement.maxRows=10</tt>. For detailed
documentation, see the <a shape="rect" class="external-l
ink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html"
rel="nofollow"><tt>java.sql.Statement</tt> javadoc</a> documentation.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>useJDBC4ColumnNameAndLabelSemantics</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.2:</b> Sets whether to use JDBC 4/3 column
label/name semantics. You can use this option to turn it <tt>false</tt> in case
you have issues with your JDBC driver to select data. This only applies when
using <tt>SQL SELECT</tt> using aliases (e.g. <tt>SQL SELECT id as identifier,
name as given_name from persons</tt>). </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>resetAutoCommit</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Camel will set the
autoCommit on the JDBC connection to be
false, commit the change after executed the statement and reset the
autoCommit flag of the connection at the end, if the resetAutoCommit is true.
If the JDBC connection doesn't support to reset the autoCommit flag, you can
set the resetAutoCommit flag to be false, and Camel will not try to reset the
autoCommit flag.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>allowNamedParameters</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Whether to allow using named
parameters in the queries. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>prepareStatementStrategy</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Allows to plugin to use a custom
<tt>org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy</tt> to
control preparation of the query and prepared st
atement. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>useHeadersAsParameters</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Set this option to <tt>true</tt> to
use the <tt>prepareStatementStrategy</tt> with named parameters. This allows to
define queries with named placeholders, and use headers with the dynamic values
for the query placeholders. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>outputType</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>SelectList</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12.1:</b> Make the output of the producer to
SelectList as List of Map, or SelectOne as single Java object in the following
way:<br clear="none">
a) If the query has only single column, then that JDBC Column object is
returned. (such as SELECT COUNT( * ) FROM PROJECT will return a Long object.<br
clear="none">
b) If the query has more than one column, then it will return a Map of that
result.<br clear="none">
-c) If the query resulted in more than one rows, it throws an non-unique result
exception.</td></tr><tr><td></td></tr></tbody></table>
+c) If the outputClass is set, then it will convert the query result into an
Java bean object by calling all the setters that match the column names. It
will assume your class has a default constructor to create instance with.<br
clear="none">
+d) If the query resulted in more than one rows, it throws an non-unique result
exception.</td></tr><tr><td></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>outputClass</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12.1:</b> Specify the full package and class
name to use as conversion when outputType=SelectOne. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>beanRowMapper</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.12.1:</b> To use a custom
<tt>org.apache.camel.component.jdbc.BeanRowMapper</tt> when using
<tt>outputClass</tt>. The default implementation will lower case the row names
and skip underscores, and dashes. For example <tt>"CUST_ID"</tt> is mapped as
<tt>"custId"</tt>. </td></tr></tbody></table>
</div>
</div>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/camel-2130-release.html
==============================================================================
--- websites/production/camel/content/camel-2130-release.html (original)
+++ websites/production/camel/content/camel-2130-release.html Wed Sep 18
14:21:36 2013
@@ -94,7 +94,7 @@
<p>Welcome to the 2.13.0 release which approx XXX issues resolved (new
features, improvements and bug fixes such as...)</p>
-<ul><li>When using multiple OSGi Blueprint <cm:property-placeholder>'s
then Camel now favors using non-default placeholders, or the last
property-placeholder defined in the Blueprint XML file. This allows for example
to define default properties in one placeholder, and override these values in
other placeholders.</li><li><a shape="rect" href="ftp2.html"
title="FTP2">FTP</a> consumer allow to download a single named file without
using the FTP LIST command. This allows to download a known file from a FTP
server even when the user account does not have permission to do FTP LIST
command.</li><li><a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer
allow to ignore file not found or insufficient file permission
errors.</li><li><a shape="rect" href="data-format.html" title="Data
Format">Data Format</a> using marshal now leverages <a shape="rect"
href="stream-caching.html" title="Stream caching">Stream caching</a> out of the
box if enabled, which allows to marshal big stream
s and spool to disk, instead of being pure in-memory based.</li><li>Improved
using <a shape="rect" href="bean.html" title="Bean">Bean</a> when the bean is
looked up in the <a shape="rect" href="registry.html"
title="Registry">Registry</a>, when using concurrent processing in the
route.</li><li>Added <tt>cache</tt> option to <tt>beanRef</tt> and
<tt><bean></tt> in the DSL. This avoids looking up the <a shape="rect"
href="bean.html" title="Bean">Bean</a> from the <a shape="rect"
href="registry.html" title="Registry">Registry</a> on each usage; this can
safely be done for singleton beans.</li><li>Configuring <a shape="rect"
href="data-format.html" title="Data Format">Data Format</a>s in XML attributes
now supports reference lookup using the # syntax, eg <tt><jaxb
xmlStreamWriterWrapper="#myWriterWrapper" ..></tt></li></ul>
+<ul><li>When using multiple OSGi Blueprint <cm:property-placeholder>'s
then Camel now favors using non-default placeholders, or the last
property-placeholder defined in the Blueprint XML file. This allows for example
to define default properties in one placeholder, and override these values in
other placeholders.</li><li><a shape="rect" href="ftp2.html"
title="FTP2">FTP</a> consumer allow to download a single named file without
using the FTP LIST command. This allows to download a known file from a FTP
server even when the user account does not have permission to do FTP LIST
command.</li><li><a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer
allow to ignore file not found or insufficient file permission
errors.</li><li><a shape="rect" href="data-format.html" title="Data
Format">Data Format</a> using marshal now leverages <a shape="rect"
href="stream-caching.html" title="Stream caching">Stream caching</a> out of the
box if enabled, which allows to marshal big stream
s and spool to disk, instead of being pure in-memory based.</li><li>Improved
using <a shape="rect" href="bean.html" title="Bean">Bean</a> when the bean is
looked up in the <a shape="rect" href="registry.html"
title="Registry">Registry</a>, when using concurrent processing in the
route.</li><li>Added <tt>cache</tt> option to <tt>beanRef</tt> and
<tt><bean></tt> in the DSL. This avoids looking up the <a shape="rect"
href="bean.html" title="Bean">Bean</a> from the <a shape="rect"
href="registry.html" title="Registry">Registry</a> on each usage; this can
safely be done for singleton beans.</li><li>Configuring <a shape="rect"
href="data-format.html" title="Data Format">Data Format</a>s in XML attributes
now supports reference lookup using the # syntax, eg <tt><jaxb
xmlStreamWriterWrapper="#myWriterWrapper" ..></tt></li><li><a shape="rect"
href="jdbc.html" title="JDBC">JDBC</a> component now also support
<tt>outputType</tt> to specify the expected output as either a List or si
ngle Object. As well allow to map to a bean using a <tt>BeanRowMapper</tt> to
control the mapping of ROW names to bean properties.</li></ul>
<h3><a shape="rect" name="Camel2.13.0Release-FixedIssues"></a>Fixed Issues</h3>
Modified: websites/production/camel/content/jdbc.html
==============================================================================
--- websites/production/camel/content/jdbc.html (original)
+++ websites/production/camel/content/jdbc.html Wed Sep 18 14:21:36 2013
@@ -122,7 +122,8 @@ jdbc:dataSourceName[?options]
<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>readSize</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The default maximum number of rows that can be read by a
polling query. The default value is 0. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>statement.<xxx></tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Sets additional
options on the <tt>java.sql.Statement</tt> that is used behind the scenes to
execute the queries. For instance, <tt>statement.maxRows=10</tt>. For detailed
documentation, see the <a shape="rect" class="external-l
ink" href="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html"
rel="nofollow"><tt>java.sql.Statement</tt> javadoc</a> documentation.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>useJDBC4ColumnNameAndLabelSemantics</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.2:</b> Sets whether to use JDBC 4/3 column
label/name semantics. You can use this option to turn it <tt>false</tt> in case
you have issues with your JDBC driver to select data. This only applies when
using <tt>SQL SELECT</tt> using aliases (e.g. <tt>SQL SELECT id as identifier,
name as given_name from persons</tt>). </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>resetAutoCommit</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Camel will set the
autoCommit on the JDBC connection to be
false, commit the change after executed the statement and reset the
autoCommit flag of the connection at the end, if the resetAutoCommit is true.
If the JDBC connection doesn't support to reset the autoCommit flag, you can
set the resetAutoCommit flag to be false, and Camel will not try to reset the
autoCommit flag.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>allowNamedParameters</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Whether to allow using named
parameters in the queries. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>prepareStatementStrategy</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Allows to plugin to use a custom
<tt>org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy</tt> to
control preparation of the query and prepared st
atement. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>useHeadersAsParameters</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12:</b> Set this option to <tt>true</tt> to
use the <tt>prepareStatementStrategy</tt> with named parameters. This allows to
define queries with named placeholders, and use headers with the dynamic values
for the query placeholders. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>outputType</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>SelectList</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12.1:</b> Make the output of the producer to
SelectList as List of Map, or SelectOne as single Java object in the following
way:<br clear="none">
a) If the query has only single column, then that JDBC Column object is
returned. (such as SELECT COUNT( * ) FROM PROJECT will return a Long object.<br
clear="none">
b) If the query has more than one column, then it will return a Map of that
result.<br clear="none">
-c) If the query resulted in more than one rows, it throws an non-unique result
exception.</td></tr><tr><td></td></tr></tbody></table>
+c) If the outputClass is set, then it will convert the query result into an
Java bean object by calling all the setters that match the column names. It
will assume your class has a default constructor to create instance with.<br
clear="none">
+d) If the query resulted in more than one rows, it throws an non-unique result
exception.</td></tr><tr><td></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>outputClass</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.12.1:</b> Specify the full package and class
name to use as conversion when outputType=SelectOne. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>beanRowMapper</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.12.1:</b> To use a custom
<tt>org.apache.camel.component.jdbc.BeanRowMapper</tt> when using
<tt>outputClass</tt>. The default implementation will lower case the row names
and skip underscores, and dashes. For example <tt>"CUST_ID"</tt> is mapped as
<tt>"custId"</tt>. </td></tr></tbody></table>
</div>
</div>