camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r918375 - in /websites/production/camel/content: cache/main.pageCache camel-2140-release.html jdbc.html
Date Mon, 04 Aug 2014 14:17:55 GMT
Author: buildbot
Date: Mon Aug  4 14:17:54 2014
New Revision: 918375

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2140-release.html
    websites/production/camel/content/jdbc.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/camel-2140-release.html
==============================================================================
--- websites/production/camel/content/camel-2140-release.html (original)
+++ websites/production/camel/content/camel-2140-release.html Mon Aug  4 14:17:54 2014
@@ -87,7 +87,7 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><h1 id="Camel2.14.0Release-Camel2.14.0release(currentlyinprogress)">Camel
2.14.0 release (currently in progress)</h1><div style="padding-right:20px;float:left;margin-left:-20px;">
-<p><span class="image-wrap" style=""><img src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"
style="border: 0px solid black"></span></p></div><div style="min-height:200px"></div><h2
id="Camel2.14.0Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome
to the 2.14.0 release which approx XXX issues resolved (new features, improvements and bug
fixes such as...)</p><ul><li>Support for running on Java 1.8 JVMs</li><li>Spring
4.x supported.</li><li><a shape="rect" href="rest-dsl.html">REST DSL</a>
to define REST services using a REST style with verbs such as get/post/put/delete etc. The
Rest DSL supports Java and XML DSL.</li><li>Simple language defined in routes
using resultType as boolean is now evaluated as predicate instead of as expression.</li><li>Introduced
RuntimeEndpointRegistry to capture runtime usage of endpoints in use during routing, such
as dynamic endpoints from dynamic <a shape="rect" href="eip.html">EIP</a>s.</li><li>Added
event notification for 
 routes added and removed.</li><li>Allow to configure cache size in Recipient
List, Routing Slip and Dynamic Router EIPs; and as well turn caching off.</li><li><a
shape="rect" href="netty-http.html">Netty HTTP</a>&#160;producer now supports
the <span>CamelHttpPath header to define a dynamic context-path and query parameters
to call the remote http server.</span></li><li><span><a shape="rect"
href="polling-consumer.html">Polling Consumer</a>&#160;allows to configure initial
queue size and whether to block when full when using the default&#160;<code>EventDrivenPollingConsumer</code>
which most components does. We now block by default, as otherwise the message may be lost
if the queue was full, and a new message was offered.</span></li><li><span><a
shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-7435">Added</a>
a generic callback to configure the <a shape="rect" href="apns.html">APNS</a>
service builder.</span></li><li><span>Added&#160;<code>StreamLi
 st</code> option to the&#160;<a shape="rect" href="jdbc.html">JDBC</a>
component</span></li><li>Allow to define Simple expressions for sql parameters
of the <a shape="rect" href="sql-component.html">SQL</a> component.<span><br
clear="none"></span></li><li>A new XML tokenizer that is truly XML-aware
(e.g., supporting XML namespaces and complex hierarchical structures)</li><li>Added
option&#160;<code>parallelAggregate</code> to <a shape="rect" href="multicast.html">Multicast</a>,
<a shape="rect" href="splitter.html">Splitter</a> and <a shape="rect" href="recipient-list.html">Recipient
List</a>&#160;EIPs</li><li>Support to set the variable map from message
header in <a shape="rect" href="velocity.html">Velocity</a>, <a shape="rect"
href="freemarker.html">Freemarker</a>, <a shape="rect" href="stringtemplate.html">StringTemplate</a>.</li><li><span>Added
HazelcastInstance option to&#160;<span><a shape="rect" href="hazelcast-component.html">Hazelcast</a>
component.</span></span></li><li>Pr
 oducers from static <a shape="rect" href="eip.html">EIPs</a> such as &lt;to&gt;
is is now also enlisted in <a shape="rect" href="camel-jmx.html">JMX</a> when
Camel is starting routes.</li><li>Unmarshal json to pojo using&#160;<code>camel-jackson</code>
now supports a header to tell Camel what the pojo class name is, to allow more dynamic behavior,
as otherwise the class name would be hardcoded.</li><li>Also allow to configure&#160;<code>camel-jackson</code>
to skip null values, by setting includes to&#160;<code>NOT_NULL</code>.</li><li>And&#160;<code>camel-jackson</code>
can now easily be configured to unmarshal to a&#160;<code>List&lt;pojo&gt;</code>&#160;or
<code>List&lt;Map&gt;</code>&#160;instead of either a single pojo
or&#160;<code>Map</code> type.&#160;</li><li>Introduced&#160;<code>SynchronizationRouteAware</code>
allowing to have callbacks before/after an Exchange is being routed. This allows to trigger
custom code at these points, for example after a route, but before a Co
 nsumer writes any response back to a caller (InOut mode).</li></ul><h3 id="Camel2.14.0Release-FixedIssues">Fixed
Issues</h3><ul><li>Timer consumer is now scheduled after CamelContext has
started all routes, to ensure other routes is running when timer routes is triggered to run.</li><li><a
shape="rect" href="netty-http.html">Netty HTTP</a> now returns HTTP status 404 if
resource not found instead of 503.</li><li>Fixed the <a shape="rect" class="external-link"
href="https://camel.apache.org/mongodb.html">MongoDB</a>&#160;<code>readPreference</code>&#160;option
which used to cause an <code>IllegalArgumentException</code>&#160;to be thrown.</li><li>Fixed
issue with Netty producer may leak HashWhealTimer instances when having many producers that
are not reused.</li><li>Fixed issue with Netty consumer should wait for join to
complete when joining a multicast group over UDP&#160;</li><li>Improved stability
when testing with&#160;<code>camel-test-blueprint</code> component.</li><li><a
shap
 e="rect" href="netty-http.html">Netty HTTP</a>&#160;now <a shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-7506">removes</a> <code>headerFilterStrategy</code>
option after resolving<span class="overlay-icon aui-icon aui-icon-small aui-iconfont-edit">&#160;</span>it</li><li>Fixed
<a shape="rect" href="aggregator2.html">POJO aggregating</a> when the parameter
type was referring to a type that was class annotated.</li><li>Fixed&#160;<a
shape="rect" href="mybatis.html">MyBatis</a>&#160;to keep the message body as-is
when calling stored procedures, if the procedure returns data as OUT parameters.</li><li>Fixed
Camel Karaf commands to work with multiple CamelContext from the same bundle.</li><li>Fixed
<a shape="rect" href="advicewith.html">Advice-With</a> to work with transacted
routes defined in XML DSL</li><li>Fixed <a shape="rect" href="advicewith.html">Advice-With</a>
to work with Content Based Router when adding outputs to the when clauses.</li><l
 i>Improved&#160;<span><code>NettyWorkerPoolBuilder#build</code>
<a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-7583">visibility</a>.</span></li></ul><h3
id="Camel2.14.0Release-New">New <a shape="rect" href="enterprise-integration-patterns.html">Enterprise
Integration Patterns</a></h3><ul><li><a shape="rect" href="load-balancer.html">Circuit
Breaker</a> pattern implemented as a Load Balancer policy</li></ul><h3
id="Camel2.14.0Release-New.1">New <a shape="rect" href="components.html">Components</a></h3><ul><li>camel-ahc-ws</li><li>camel-atmosphere-websocket</li><li>camel-box</li><li><a
shape="rect" href="dropbox.html">camel-dropbox</a></li><li>camel-metrics</li><li><a
shape="rect" href="openshift.html">camel-openshift</a></li><li><a
shape="rect" href="gora.html">camel-gora</a></li><li><a shape="rect"
href="rest.html">camel-rest</a> (in camel-core)</li><li><a shape="rect"
href="spark-rest.html">camel-spar</a><a shape="rect" href="spark-rest.html
 ">k-rest</a></li></ul><h3 id="Camel2.14.0Release-New.2">New <a
shape="rect" href="camel-maven-archetypes.html">Camel Maven Archetypes</a></h3><h3
id="Camel2.14.0Release-NewDSL">New DSL</h3><h3 id="Camel2.14.0Release-NewAnnotations">New
Annotations</h3><h3 id="Camel2.14.0Release-NewDataFormats">New <a shape="rect"
href="data-format.html">Data Formats</a></h3><ul><li><a shape="rect"
href="gora.html">camel-</a><a shape="rect" href="barcode-data-format.html">barcode</a></li></ul><h3
id="Camel2.14.0Release-New.3">New <a shape="rect" href="languages.html">Languages</a></h3><ul><li>XMLTokenizer</li></ul><h3
id="Camel2.14.0Release-New.4">New <a shape="rect" href="examples.html">Examples</a></h3><h3
id="Camel2.14.0Release-New.5">New <a shape="rect" href="tutorials.html">Tutorials</a></h3><h3
id="Camel2.14.0Release-NewTooling">New Tooling</h3><h2 id="Camel2.14.0Release-APIchanges">API
changes</h2><ul><li><p>Removed duplicate getter <code>getMessageHistory</code>
on&#160;<code>ManagedCamelCont
 extMBean</code></p></li><li><p>Added org.apache.camel.spi.SynchronizationRouteAware</p></li><li>Added&#160;beforeRoute
and afterRoute methods to UnitOfWork.</li><li>Added a new method to&#160;<code>org.apache.camel.component.jms.QueueBrowseStrategy</code>
to support JMS selectors</li></ul><h2 id="Camel2.14.0Release-KnownIssues">Known
Issues</h2><h2 id="Camel2.14.0Release-DependencyUpgrades">Dependency Upgrades</h2><p>You
can see any dependency changes using <a shape="rect" class="external-link" href="http://vdiff.notsoclever.cc/"
rel="nofollow">Camel Dependencies Version Differences web tool</a> created by Tracy
Snell from the Camel <a shape="rect" href="team.html">Team</a>.</p><p>The
below list is a best effort, and we may miss some updates, its better to use the <a shape="rect"
class="external-link" href="http://vdiff.notsoclever.cc/" rel="nofollow">Camel Dependencies
Version Differences web tool</a> which uses the released projects for comparison.</p><ul><li>Atomikos
3.9.2 to 3.9
 .3</li><li>Commons-codec 1.8 to 1.9</li><li>CXF 2.7.11 to 3.0.1</li><li>Deltaspike
0.7 to 1.0.1</li><li>Dozer 5.4.0 to 5.5.1</li><li>EhCache 2.8.1 to
2.8.3</li><li>Groovy 2.2.2 to 2.3.4</li><li>Guava 16.0.1 to 17.0</li><li>Hapi
2.1 to 2.2</li><li>Hazelcast 3.0.3 to 3.2.4</li><li>JRuby 1.7.10 to
1.7.12</li><li>MongoDB-Java-Driver 2.11.4 to 2.12.0</li><li>RabbitMQ
AMQ Client 3.2.2 to 3.3.0</li><li>Restlet 2.17 to 2.2.1</li><li>RxJava
0.17.5 to 0.19.4</li><li>Scala 2.10.3 to 2.11.2</li><li>Snmp4j 2.2.5
to 2.3.0</li><li>SSHD 0.10.1 to 0.11.0</li><li>spring-redis 1.1.0
to 1.3.0</li><li>Twitter4j 3.0.5 x to 4.0.1</li></ul><h2 id="Camel2.14.0Release-Internalchanges">Internal
changes</h2><ul><li>Changed ...</li></ul><h2 id="Camel2.14.0Release-Changesthatmayaffectendusers">Changes
that may affect end users</h2><ul><li><a shape="rect" href="polling-consumer.html">Polling
Consumer</a>&#160;allows to configure initial queue size and whether to block when
full when using the default&#160;<code>E
 ventDrivenPollingConsumer</code> which most components does. We now block by default,
as otherwise the message may be lost if the queue was full, and a new message was offered.</li><li><code>camel-scala</code>
upgraded from Scala 2.10.x to 2.11.x</li><li>The option&#160;<code>useSsl</code>
has been removed from&#160;<code>camel-twitter</code> as ssl is always enabled
now, enforced by twitter</li><li>Fixed&#160;<a shape="rect" href="restlet.html">Restlet</a>
to return error code 405 (instead of 404 if a http method is not allowed</li></ul><h2
id="Camel2.14.0Release-Importantchangestoconsiderwhenupgrading">Important changes to consider
when upgrading</h2><ul><li>Java 1.6 no longer supported.</li><li>Unit
testing with Spring 3.x now requires using camel-test-spring3, as camel-test-spring is for
Spring 4.x<br clear="none"><br clear="none"></li></ul><h2 id="Camel2.14.0Release-GettingtheDistributions">Getting
the Distributions</h2><h3 id="Camel2.14.0Release-BinaryDistributions">Binary Dis
 tributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip">apache-camel-2.14.0.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip.asc">apache-camel-2.14.0.zip.asc</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
 ><a shape="rect" class="external-link" href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz">apache-camel-2.14.0.tar.gz</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz.asc">apache-camel-2.14.0.tar.gz.asc</a></p></td></tr></tbody></table></div><h3
id="Camel2.14.0Release-SourceDistribution">Source Distribution</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Source</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dyn
 /closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip">apache-camel-2.14.0-src.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip.asc">apache-camel-2.14.0-src.zip.asc</a></p></td></tr></tbody></table></div><h3
id="Camel2.14.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven
2</h3><p>To use this release in your maven project, the proper dependency configuration
that you should use in your <a shape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven
POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<p><span class="image-wrap" style=""><img src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"
style="border: 0px solid black"></span></p></div><div style="min-height:200px"></div><h2
id="Camel2.14.0Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome
to the 2.14.0 release which approx XXX issues resolved (new features, improvements and bug
fixes such as...)</p><ul><li>Support for running on Java 1.8 JVMs</li><li>Spring
4.x supported.</li><li><a shape="rect" href="rest-dsl.html">REST DSL</a>
to define REST services using a REST style with verbs such as get/post/put/delete etc. The
Rest DSL supports Java and XML DSL.</li><li>Simple language defined in routes
using resultType as boolean is now evaluated as predicate instead of as expression.</li><li>Introduced
RuntimeEndpointRegistry to capture runtime usage of endpoints in use during routing, such
as dynamic endpoints from dynamic <a shape="rect" href="eip.html">EIP</a>s.</li><li>Added
event notification for 
 routes added and removed.</li><li>Allow to configure cache size in Recipient
List, Routing Slip and Dynamic Router EIPs; and as well turn caching off.</li><li><a
shape="rect" href="netty-http.html">Netty HTTP</a>&#160;producer now supports
the <span>CamelHttpPath header to define a dynamic context-path and query parameters
to call the remote http server.</span></li><li><span><a shape="rect"
href="polling-consumer.html">Polling Consumer</a>&#160;allows to configure initial
queue size and whether to block when full when using the default&#160;<code>EventDrivenPollingConsumer</code>
which most components does. We now block by default, as otherwise the message may be lost
if the queue was full, and a new message was offered.</span></li><li><span><a
shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-7435">Added</a>
a generic callback to configure the <a shape="rect" href="apns.html">APNS</a>
service builder.</span></li><li><span>Added&#160;<code>StreamLi
 st</code> option to the&#160;<a shape="rect" href="jdbc.html">JDBC</a>
component</span></li><li>Allow to define Simple expressions for sql parameters
of the <a shape="rect" href="sql-component.html">SQL</a> component.<span><br
clear="none"></span></li><li>A new XML tokenizer that is truly XML-aware
(e.g., supporting XML namespaces and complex hierarchical structures)</li><li>Added
option&#160;<code>parallelAggregate</code> to <a shape="rect" href="multicast.html">Multicast</a>,
<a shape="rect" href="splitter.html">Splitter</a> and <a shape="rect" href="recipient-list.html">Recipient
List</a>&#160;EIPs</li><li>Support to set the variable map from message
header in <a shape="rect" href="velocity.html">Velocity</a>, <a shape="rect"
href="freemarker.html">Freemarker</a>, <a shape="rect" href="stringtemplate.html">StringTemplate</a>.</li><li><span>Added
HazelcastInstance option to&#160;<span><a shape="rect" href="hazelcast-component.html">Hazelcast</a>
component.</span></span></li><li>Pr
 oducers from static <a shape="rect" href="eip.html">EIPs</a> such as &lt;to&gt;
is is now also enlisted in <a shape="rect" href="camel-jmx.html">JMX</a> when
Camel is starting routes.</li><li>Unmarshal json to pojo using&#160;<code>camel-jackson</code>
now supports a header to tell Camel what the pojo class name is, to allow more dynamic behavior,
as otherwise the class name would be hardcoded.</li><li>Also allow to configure&#160;<code>camel-jackson</code>
to skip null values, by setting includes to&#160;<code>NOT_NULL</code>.</li><li>And&#160;<code>camel-jackson</code>
can now easily be configured to unmarshal to a&#160;<code>List&lt;pojo&gt;</code>&#160;or
<code>List&lt;Map&gt;</code>&#160;instead of either a single pojo
or&#160;<code>Map</code> type.&#160;</li><li>Introduced&#160;<code>SynchronizationRouteAware</code>
allowing to have callbacks before/after an Exchange is being routed. This allows to trigger
custom code at these points, for example after a route, but before a Co
 nsumer writes any response back to a caller (InOut mode).</li><li><a shape="rect"
href="jdbc.html">JDBC</a>&#160;now supports outputClass for SelectList type.</li></ul><h3
id="Camel2.14.0Release-FixedIssues">Fixed Issues</h3><ul><li>Timer consumer
is now scheduled after CamelContext has started all routes, to ensure other routes is running
when timer routes is triggered to run.</li><li><a shape="rect" href="netty-http.html">Netty
HTTP</a> now returns HTTP status 404 if resource not found instead of 503.</li><li>Fixed
the <a shape="rect" class="external-link" href="https://camel.apache.org/mongodb.html">MongoDB</a>&#160;<code>readPreference</code>&#160;option
which used to cause an <code>IllegalArgumentException</code>&#160;to be thrown.</li><li>Fixed
issue with Netty producer may leak HashWhealTimer instances when having many producers that
are not reused.</li><li>Fixed issue with Netty consumer should wait for join to
complete when joining a multicast group over UDP&#160;</li><li>I
 mproved stability when testing with&#160;<code>camel-test-blueprint</code>
component.</li><li><a shape="rect" href="netty-http.html">Netty HTTP</a>&#160;now
<a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-7506">removes</a>
<code>headerFilterStrategy</code> option after resolving<span class="overlay-icon
aui-icon aui-icon-small aui-iconfont-edit">&#160;</span>it</li><li>Fixed
<a shape="rect" href="aggregator2.html">POJO aggregating</a> when the parameter
type was referring to a type that was class annotated.</li><li>Fixed&#160;<a
shape="rect" href="mybatis.html">MyBatis</a>&#160;to keep the message body as-is
when calling stored procedures, if the procedure returns data as OUT parameters.</li><li>Fixed
Camel Karaf commands to work with multiple CamelContext from the same bundle.</li><li>Fixed
<a shape="rect" href="advicewith.html">Advice-With</a> to work with transacted
routes defined in XML DSL</li><li>Fixed <a shape="rect" href="advicewith.ht
 ml">Advice-With</a> to work with Content Based Router when adding outputs to the
when clauses.</li><li>Improved&#160;<span><code>NettyWorkerPoolBuilder#build</code>
<a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-7583">visibility</a>.</span></li></ul><h3
id="Camel2.14.0Release-New">New <a shape="rect" href="enterprise-integration-patterns.html">Enterprise
Integration Patterns</a></h3><ul><li><a shape="rect" href="load-balancer.html">Circuit
Breaker</a> pattern implemented as a Load Balancer policy</li></ul><h3
id="Camel2.14.0Release-New.1">New <a shape="rect" href="components.html">Components</a></h3><ul><li>camel-ahc-ws</li><li>camel-atmosphere-websocket</li><li>camel-box</li><li><a
shape="rect" href="dropbox.html">camel-dropbox</a></li><li>camel-metrics</li><li>camel-netty4</li><li><a
shape="rect" href="openshift.html">camel-openshift</a></li><li><a
shape="rect" href="gora.html">camel-gora</a></li><li><a shape="rect"
href="rest.html">camel-r
 est</a> (in camel-core)</li><li><a shape="rect" href="spark-rest.html">camel-spar</a><a
shape="rect" href="spark-rest.html">k-rest</a></li></ul><h3 id="Camel2.14.0Release-New.2">New
<a shape="rect" href="camel-maven-archetypes.html">Camel Maven Archetypes</a></h3><h3
id="Camel2.14.0Release-NewDSL">New DSL</h3><h3 id="Camel2.14.0Release-NewAnnotations">New
Annotations</h3><h3 id="Camel2.14.0Release-NewDataFormats">New <a shape="rect"
href="data-format.html">Data Formats</a></h3><ul><li><a shape="rect"
href="gora.html">camel-</a><a shape="rect" href="barcode-data-format.html">barcode</a></li></ul><h3
id="Camel2.14.0Release-New.3">New <a shape="rect" href="languages.html">Languages</a></h3><ul><li>XMLTokenizer</li></ul><h3
id="Camel2.14.0Release-New.4">New <a shape="rect" href="examples.html">Examples</a></h3><h3
id="Camel2.14.0Release-New.5">New <a shape="rect" href="tutorials.html">Tutorials</a></h3><h3
id="Camel2.14.0Release-NewTooling">New Tooling</h3><h2 id="Camel2.14.0Release-API
 changes">API changes</h2><ul><li><p>Removed duplicate getter <code>getMessageHistory</code>
on&#160;<code>ManagedCamelContextMBean</code></p></li><li><p>Added
org.apache.camel.spi.SynchronizationRouteAware</p></li><li>Added&#160;beforeRoute
and afterRoute methods to UnitOfWork.</li><li>Added a new method to&#160;<code>org.apache.camel.component.jms.QueueBrowseStrategy</code>
to support JMS selectors</li></ul><h2 id="Camel2.14.0Release-KnownIssues">Known
Issues</h2><h2 id="Camel2.14.0Release-DependencyUpgrades">Dependency Upgrades</h2><p>You
can see any dependency changes using <a shape="rect" class="external-link" href="http://vdiff.notsoclever.cc/"
rel="nofollow">Camel Dependencies Version Differences web tool</a> created by Tracy
Snell from the Camel <a shape="rect" href="team.html">Team</a>.</p><p>The
below list is a best effort, and we may miss some updates, its better to use the <a shape="rect"
class="external-link" href="http://vdiff.notsoclever.cc/" rel="nofollow">Camel Depen
 dencies Version Differences web tool</a> which uses the released projects for comparison.</p><ul><li>Atomikos
3.9.2 to 3.9.3</li><li>Commons-codec 1.8 to 1.9</li><li>CXF 2.7.11
to 3.0.1</li><li>Deltaspike 0.7 to 1.0.1</li><li>Dozer 5.4.0 to 5.5.1</li><li>EhCache
2.8.1 to 2.8.3</li><li>Groovy 2.2.2 to 2.3.4</li><li>Guava 16.0.1
to 17.0</li><li>Hapi 2.1 to 2.2</li><li>Hazelcast 3.0.3 to 3.2.4</li><li>JRuby
1.7.10 to 1.7.12</li><li>MongoDB-Java-Driver 2.11.4 to 2.12.0</li><li>RabbitMQ
AMQ Client 3.2.2 to 3.3.0</li><li>Restlet 2.17 to 2.2.1</li><li>RxJava
0.17.5 to 0.19.4</li><li>Scala 2.10.3 to 2.11.2</li><li>Snmp4j 2.2.5
to 2.3.0</li><li>SSHD 0.10.1 to 0.11.0</li><li>spring-redis 1.1.0
to 1.3.0</li><li>Twitter4j 3.0.5 x to 4.0.1</li></ul><h2 id="Camel2.14.0Release-Internalchanges">Internal
changes</h2><ul><li>Changed ...</li></ul><h2 id="Camel2.14.0Release-Changesthatmayaffectendusers">Changes
that may affect end users</h2><ul><li><a shape="rect" href="polling-consumer.html">Polling
C
 onsumer</a>&#160;allows to configure initial queue size and whether to block when
full when using the default&#160;<code>EventDrivenPollingConsumer</code> which
most components does. We now block by default, as otherwise the message may be lost if the
queue was full, and a new message was offered.</li><li><code>camel-scala</code>
upgraded from Scala 2.10.x to 2.11.x</li><li>The option&#160;<code>useSsl</code>
has been removed from&#160;<code>camel-twitter</code> as ssl is always enabled
now, enforced by twitter</li><li>Fixed&#160;<a shape="rect" href="restlet.html">Restlet</a>
to return error code 405 (instead of 404 if a http method is not allowed</li></ul><h2
id="Camel2.14.0Release-Importantchangestoconsiderwhenupgrading">Important changes to consider
when upgrading</h2><ul><li>Java 1.6 no longer supported.</li><li>Unit
testing with Spring 3.x now requires using camel-test-spring3, as camel-test-spring is for
Spring 4.x<br clear="none"><br clear="none"></li></ul><h2 id="Camel2.14.
 0Release-GettingtheDistributions">Getting the Distributions</h2><h3 id="Camel2.14.0Release-BinaryDistributions">Binary
Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip">apache-camel-2.14.0.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip.asc">apache-camel-2.14.0.zip.asc</a></p></td></tr><tr><td
colspan="1" rows
 pan="1" class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz">apache-camel-2.14.0.tar.gz</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz.asc">apache-camel-2.14.0.tar.gz.asc</a></p></td></tr></tbody></table></div><h3
id="Camel2.14.0Release-SourceDistribution">Source Distribution</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Source</p></td
 ><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip">apache-camel-2.14.0-src.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip.asc">apache-camel-2.14.0-src.zip.asc</a></p></td></tr></tbody></table></div><h3
id="Camel2.14.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven
2</h3><p>To use this release in your maven project, the proper dependency configuration
that you should use in your <a shape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven
POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
   &lt;artifactId&gt;camel-core&lt;/artifactId&gt;

Modified: websites/production/camel/content/jdbc.html
==============================================================================
--- websites/production/camel/content/jdbc.html (original)
+++ websites/production/camel/content/jdbc.html Mon Aug  4 14:17:54 2014
@@ -107,9 +107,9 @@
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>readSize</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>0</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The
default maximum number of rows that can be read by a polling query. The default value is 0.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>statement.&lt;xxx&gt;</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.1:</strong>
Sets additional options on the <code>java.sql.Statement</code> that is used behind
the scenes to execute the queries. For instance, <code>state
 ment.maxRows=10</code>. For detailed documentation, see the <a shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" rel="nofollow"><code>java.sql.Statement</code>
javadoc</a> documentation. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>useJDBC4ColumnNameAndLabelSemantics</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.2:</strong> Sets whether to use JDBC 4/3 column label/name semantics. You can use
this option to turn it <code>false</code> in case you have issues with your JDBC
driver to select data. This only applies when using <code>SQL SELECT</code> using
aliases (e.g. <code>SQL SELECT id as identifier, name as given_name from persons</code>).
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>resetAutoCommit</code> </p></td><td colspan="1" rowspan="1"
clas
 s="confluenceTd"><p> <code>true</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.9:</strong> 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.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>allowNamedParameters</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.12:</strong> Whether to allow using named parameters in the queries. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>prepareStatementStrategy</code>
</p></td><td colspan="1" rowspan="1" class="conflue
 nceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<strong>Camel 2.12:</strong> Allows to plugin to use a custom <code>org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy</code>
to control preparation of the query and prepared statement. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>useHeadersAsParameters</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.12:</strong> Set this option to <code>true</code> to use the <code>prepareStatementStrategy</code>
with named parameters. This allows to define queries with named placeholders, and use headers
with the dynamic values for the query placeholders. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>outputType</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>SelectList</code>
</p></td><td colspan="1" rowspa
 n="1" class="confluenceTd"><p> <strong>Camel 2.12.1:</strong> 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 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">
+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. From <strong>Camel 2.14</strong> onwards
then SelectList is also supported. <br clear="none">
 d) If the query resulted in more than one rows, it throws an non-unique result exception.<br
clear="none">
-<strong>Camel 2.14.0:</strong> New <code>StreamList</code> output
type value that streams the result of the query using an <code>Iterator&lt;Map&lt;String,
Object&gt;&gt;</code>, it can be used along with the <a shape="rect" href="splitter.html"
title="Splitter">Splitter</a> EIP. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>outputClass</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.12.1:</strong> Specify the full package and class name to use as conversion when outputType=SelectOne.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>beanRowMapper</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <strong>Camel 2.12.1:</strong> To use a custom
<code>org.apache.camel.component.jdbc.BeanRowMapper</code> when using <code>outputCla
 ss</code>. The default implementation will lower case the row names and skip underscores,
and dashes. For example <code>"CUST_ID"</code> is mapped as <code>"custId"</code>.
</p></td></tr></tbody></table>
+<strong>Camel 2.14.0:</strong> New <code>StreamList</code> output
type value that streams the result of the query using an <code>Iterator&lt;Map&lt;String,
Object&gt;&gt;</code>, it can be used along with the <a shape="rect" href="splitter.html"
title="Splitter">Splitter</a> EIP. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>outputClass</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.12.1:</strong> Specify the full package and class name to use as conversion when outputType=SelectOne.
From <strong>Camel 2.14</strong> onwards then SelectList is also supported. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>beanRowMapper</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.12.1:</strong>
To use a custom <code>org
 .apache.camel.component.jdbc.BeanRowMapper</code> when using <code>outputClass</code>.
The default implementation will lower case the row names and skip underscores, and dashes.
For example <code>"CUST_ID"</code> is mapped as <code>"custId"</code>.
</p></td></tr></tbody></table>
 </div><h3 id="JDBC-Result">Result</h3><p>By default the result is
returned in the OUT body as an <code>ArrayList&lt;HashMap&lt;String, Object&gt;&gt;</code>.
The <code>List</code> object contains the list of rows and the <code>Map</code>
objects contain each row with the <code>String</code> key as the column name.
You can use the option <code>outputType</code> to control the result.</p><p><strong>Note:</strong>
This component fetches <code>ResultSetMetaData</code> to be able to return the
column name as the key in the <code>Map</code>.</p><h4 id="JDBC-MessageHeaders">Message
Headers</h4><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Header</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelJdbcRowCount</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If the query is a <code>SELECT</code>,
query t
 he row count is returned in this OUT header.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelJdbcUpdateCount</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If the query is an <code>UPDATE</code>,
query the update count is returned in this OUT header.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelGeneratedKeysRows</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong>
Rows that contains the generated kets.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>CamelGeneratedKeysRowCount</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong>
The number of rows in the header that contains generated keys.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelJdbcColumnNames</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.1:</strong>
The co
 lumn names from the ResultSet as a <code>java.util.Set</code> type.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelJdbcParametes</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.12:</strong>
A <code>java.util.Map</code> which has the headers to be used if <code>useHeadersAsParameters</code>
has been enabled.</p></td></tr></tbody></table></div><h3
id="JDBC-Generatedkeys">Generated keys</h3><p><strong>Available as of
Camel 2.10</strong></p><p>If you insert data using SQL INSERT, then the
RDBMS may support auto generated keys. You can instruct the <a shape="rect" href="jdbc.html">JDBC</a>
producer to return the generated keys in headers.<br clear="none"> To do that set the
header <code>CamelRetrieveGeneratedKeys=true</code>. Then the generated keys will
be provided as headers with the keys listed in the table above.</p><p>You can
see more details in this <a shape="rect" class="external-link" href="https://svn.apache.org
 /repos/asf/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcGeneratedKeysTest.java">unit
test</a>.</p>    <div class="aui-message hint shadowed information-macro">
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">



Mime
View raw message