camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Confluence)" <>
Subject [CONF] Apache Camel > Camel 2.12.0 Release
Date Tue, 25 Jun 2013 09:04:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="">Camel
2.12.0 Release</a></h2>
    <h4>Page <b>edited</b> by             <a href="">Claus
                         <h4>Changes (1)</h4>
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >* Added {{greedy}} option to [scheduled
polling consumer|Polling Consumer]. <br>* Added support for accessing the length field
on Java arrays in [Simple] language. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Added support for using JAXB annotations with Camel&#39;s Jackson [JSON] component. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h3. Fixed Issues <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="Camel2.12.0Release-Camel2.12.0release%28currentlyinprogress%29"></a>Camel
2.12.0 release (currently in progress)</h1>

<div style="padding-right:20px;float:left;margin-left:-20px;"><p><span class="image-wrap"
style=""><img src=""
style="border: 0px solid black" /></span></p></div>
<div style="min-height:200px"></div>

<h2><a name="Camel2.12.0Release-NewandNoteworthy"></a>New and Noteworthy</h2>

<p>Welcome to the 2.12.0 release which approx XXX issues resolved (new features, improvements
and bug fixes such as...)</p>

	<li><a href="/confluence/display/CAMEL/Endpoint+Annotations" title="Endpoint Annotations">Endpoint
Annotations</a> along with automatically created HTML documentation for the endpoint
parameters; this makes it easier for component developers to add a few refactoring-safe annotations
to their Endpoint or Consumer implementations and, (along with javadoc comments on the field
or setter method), get nice user documentation on how to use the endpoint for free.</li>
	<li><a href="/confluence/display/CAMEL/ComponentConfiguration" title="ComponentConfiguration">ComponentConfiguration</a>
API provides a handy API for tools developers to introspect on a Component to find all the
possible parameters, their types and any extra annotations (like Bean Validation Annotations)
to be able to create/edit endpoints or URI strings so that tools can generate nicer UIs for
configuring endpoints than just letting folks edit Strings.</li>
	<li><a href="/confluence/display/CAMEL/EndpointCompleter" title="EndpointCompleter">EndpointCompleter</a>
API provides a hook so that command line tools (like <a href=""
class="external-link" rel="nofollow">Karaf's shell</a>), IDEs and web tools can get
(bash tab like) auto-completion on endpoint paths (such as file or directory names, message
queue names, database table names) when creating or using new endpoints</li>
	<li>Reduced stack-frames in use during routing, that also makes Camel's stack traces
being logged much less verbose. This also allows people to easier debug the internals of Camel
as less <tt>AsyncCallback</tt> callbacks are in use during routing.</li>
	<li>Easy to use <a href="/confluence/display/CAMEL/Message+History" title="Message
History">Message History</a> out of the box. And included message history as "route
stack-trace" when exceptions logged by <a href="/confluence/display/CAMEL/Error+Handler"
title="Error Handler">Error Handler</a> to make it easier for end users to spot where
the exception occurred.</li>
	<li><a href="/confluence/display/CAMEL/Spring+Web+Services" title="Spring Web Services">Spring
Web Services</a> now supports setting/receiving SOAP headers more easily using a header
on the Camel <a href="/confluence/display/CAMEL/Message" title="Message">Message</a>.</li>
	<li>Evaluating <a href="/confluence/display/CAMEL/Groovy" title="Groovy">Groovy</a>
expressions is faster as we cache the compiled scripts.</li>
	<li>Added <tt>base64</tt> option to <a href="/confluence/display/CAMEL/Shiro+Security"
title="Shiro Security">Shiro Security</a> to allow transferring security token over
<a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> and other transports
as base64 encoded representation.</li>
	<li>Made it easier to use <a href="/confluence/display/CAMEL/Shiro+Security" title="Shiro
Security">Shiro Security</a> as the credentials can be provided in headers, when
sending a message to a secured route.</li>
	<li><a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a> now
supports enums.</li>
	<li>Added new <a href="/confluence/display/CAMEL/BacklogDebugger" title="BacklogDebugger">BacklogDebugger</a>
to perform live debugging of messages during routing. The <a href="/confluence/display/CAMEL/BacklogDebugger"
title="BacklogDebugger">BacklogDebugger</a> has JMX API allows tooling to control
the debugger.</li>
	<li>While using the <a href="" class="external-link"
rel="nofollow">Jackson library</a> through the <a href="/confluence/display/CAMEL/JSON"
title="JSON">JSON</a> Dataformat there's now a <tt>jsonView</tt> attribute
you could make use of directly inside the <a href="/confluence/display/CAMEL/DSL" title="DSL">DSL</a>
	<li><a href="/confluence/display/CAMEL/SMPP" title="SMPP">SMPP</a> now
supports optional parameters in all commands where they are possible.</li>
	<li><a href="/confluence/display/CAMEL/JDBC" title="JDBC">JDBC</a> now
supports named parameters.</li>
	<li>Added timeout support for <a href="/confluence/display/CAMEL/Direct" title="Direct">Direct</a>
producers to wait for consumer to become active.</li>
	<li>Added <tt>stats</tt> action to <a href="/confluence/display/CAMEL/ControlBus"
title="ControlBus">ControlBus</a> to easily get performance statics in a single XML
	<li>Added support for request timeout on <a href="/confluence/display/CAMEL/Netty"
title="Netty">Netty</a> producer, and to configure logging level on <a href="/confluence/display/CAMEL/Netty"
title="Netty">Netty</a> consumer to be less noisy for ChannelClosedException which
can flood the logs when client disconnects abruptly.</li>
	<li><a href="/confluence/display/CAMEL/SpringBatch" title="SpringBatch">Spring
Batch</a> component producer now returns the <tt>JobExecution</tt> instance
as the output message. Users can use the <tt>JobExecution</tt> instance to perform
some operations using the Spring Batch API directly.</li>
	<li>Added support for NULL values in <a href="/confluence/display/CAMEL/SQL+Component"
title="SQL Component">SQL</a> with named parameters.</li>
	<li>Optimized <a href="/confluence/display/CAMEL/Jetty" title="Jetty">Jetty</a>
streaming responses in non-chunked mode; and as well using buffer sizes based on <tt>HttpServletResponse.getBufferSize()</tt>
instead of fixed size of 4kb.</li>
	<li>Added <tt>greedy</tt> option to <a href="/confluence/display/CAMEL/Polling+Consumer"
title="Polling Consumer">scheduled polling consumer</a>.</li>
	<li>Added support for accessing the length field on Java arrays in <a href="/confluence/display/CAMEL/Simple"
title="Simple">Simple</a> language.</li>
	<li>Added support for using JAXB annotations with Camel's Jackson <a href="/confluence/display/CAMEL/JSON"
title="JSON">JSON</a> component.</li>

<h3><a name="Camel2.12.0Release-FixedIssues"></a>Fixed Issues</h3>

	<li>Fixed setting .id in Java DSL on some <a href="/confluence/display/CAMEL/EIP"
title="EIP">EIP</a>s such as the <a href="/confluence/display/CAMEL/Validate"
	<li>Fixed <a href="/confluence/display/CAMEL/Dead+Letter+Channel" title="Dead Letter
Channel">Dead Letter Channel</a> always handled exception, which wasn't the case
if an <a href="/confluence/display/CAMEL/Exception+Clause" title="Exception Clause">Exception
Clause</a> was in use, which didn't had handled=true.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Using+PropertyPlaceholder" title="Using
PropertyPlaceholder">Using PropertyPlaceholder</a> in attributes defined on <tt>&lt;camelContext&gt;</tt>.</li>
	<li>All Camel <a href="/confluence/display/CAMEL/Components" title="Components">Components</a>
will configure their consumers when being created to ensure you can configure from <a href="/confluence/display/CAMEL/URIs"
title="URIs">URIs</a> with <tt>consumer.</tt> as prefix.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Quickfix" title="Quickfix">QuickfixJEndpoint</a>
to adhere a given InOut MEP correctly.</li>
	<li>Fixed using property placeholders in a <a href="/confluence/display/CAMEL/Simple"
title="Simple">Simple</a> predicate used inside a when in a <a href="/confluence/display/CAMEL/Content+Based+Router"
title="Content Based Router">Content Based Router</a> when using <a href="/confluence/display/CAMEL/Java+DSL"
title="Java DSL">Java DSL</a></li>
	<li>Fixed a race condition in <a href="/confluence/display/CAMEL/File2" title="File2">File</a>
consumer which may lead to a tiny window for another process to pickup a file, as the read
lock is committed before the file is moved afterwards etc. Now read locks is executed last.</li>
	<li><a href="/confluence/display/CAMEL/HTTP4" title="HTTP4">HTTP4</a> now
validates that only one instance of <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>
is used per component, as multiple is not supported, and could lead to undesired side effects.</li>
	<li>Fixed possible dead-lock during <a href="/confluence/display/CAMEL/Graceful+Shutdown"
title="Graceful Shutdown">Graceful Shutdown</a> if a route starts from <a href="/confluence/display/CAMEL/SEDA"
title="SEDA">SEDA</a> and uses <a href="/confluence/display/CAMEL/Splitter" title="Splitter">Splitter</a>
or <a href="/confluence/display/CAMEL/Multicast" title="Multicast">Multicast</a>
and maximumRedeliveries was enabled as well.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Splitter" title="Splitter">TokenizeXML</a>
to support self closing tags.</li>

<h3><a name="Camel2.12.0Release-NewEnterpriseIntegrationPatterns"></a>New
<a href="/confluence/display/CAMEL/Enterprise+Integration+Patterns" title="Enterprise Integration
Patterns">Enterprise Integration Patterns</a></h3>

<h3><a name="Camel2.12.0Release-NewComponents"></a>New <a href="/confluence/display/CAMEL/Components"

	<li><a href="/confluence/display/CAMEL/Geocoder" title="Geocoder"><tt>camel-geocoder</tt></a>
- For looking up geocodes (latitude, longitude) for a given address, or reverse lookup with
<a href="" class="external-link" rel="nofollow">Java
API for Google Geocoder</a></li>
	<li><a href="/confluence/display/CAMEL/Mustache" title="Mustache"><tt>camel-mustache</tt></a>
- For templating using <a href="" class="external-link" rel="nofollow">Mustache</a></li>
	<li><a href="/confluence/display/CAMEL/MVEL+Component" title="MVEL Component"><tt>camel-mvel</tt></a>
- For templating using <a href="" class="external-link" rel="nofollow">MVEL</a></li>
	<li><a href="/confluence/display/CAMEL/Netty+HTTP" title="Netty HTTP"><tt>camel-netty-http</tt></a>
- HTTP component using <a href="/confluence/display/CAMEL/Netty" title="Netty">Netty</a>
as transport</li>
	<li><a href="/confluence/display/CAMEL/SAP+NetWeaver" title="SAP NetWeaver"><tt>camel-sap-netwever</tt></a>
- For integration with <a href=""
class="external-link" rel="nofollow">SAP NetWeaver Gateway</a></li>
	<li><a href="/confluence/display/CAMEL/Weather" title="Weather"><tt>camel-weather</tt></a>
- For polling weather information from <a href="" class="external-link"
rel="nofollow">Open Weather Map</a></li>

<h3><a name="Camel2.12.0Release-NewDSL"></a>New DSL</h3>

<h3><a name="Camel2.12.0Release-NewAnnotations"></a>New Annotations</h3>

<h3><a name="Camel2.12.0Release-NewDataFormatsDataFormat"></a>New <a
href="/confluence/display/CAMEL/Data+Format" title="Data Format">Data Formats</a></h3>

<h3><a name="Camel2.12.0Release-NewLanguages"></a>New <a href="/confluence/display/CAMEL/Languages"

<h3><a name="Camel2.12.0Release-NewExamples"></a>New <a href="/confluence/display/CAMEL/Examples"

<h3><a name="Camel2.12.0Release-NewTutorials"></a>New <a href="/confluence/display/CAMEL/Tutorials"

<h2><a name="Camel2.12.0Release-APIbreaking"></a>API breaking</h2>

<h2><a name="Camel2.12.0Release-KnownIssues"></a>Known Issues</h2>

<h2><a name="Camel2.12.0Release-DependencyUpgrades"></a>Dependency Upgrades</h2>
	<li>Bouncy Castle 1.47 to 1.48</li>
	<li>Commons Httpclient 4.2.3 to 4.2.5</li>
	<li>Commons Httpcore 4.2.3 to 4.2.4</li>
	<li>CXF 2.7.4 to 2.7.5</li>
	<li>Ehcache 2.5.2 to 2.7.0</li>
	<li>HAPI 2.0 to 2.1</li>
	<li>Groovy 2.1.3 to 2.1.4</li>
	<li>Hawtdispatch 1.13 to 1.17</li>
	<li>Hibernate Validator 4.1.0 to 4.3.1</li>
	<li>Jackson 2.1.4 to 2.2.2</li>
	<li>JRuby 1.7.2 to 1.7.3</li>
	<li>Krati 0.4.8 to 0.4.9</li>
	<li>Leveldbjni 1.6 to 1.7</li>
	<li>MQTT Client 1.4 to 1.5</li>
	<li>Netty 3.6.5 to 3.6.6</li>
	<li>OpenJPA 2.2.1 to 2.2.2</li>
	<li>Saxon to</li>
	<li>Shiro 1.2.1 to 1.2.2</li>
	<li>Spring 3.1.4.RELEASE to 3.2.3.RELEASE</li>
	<li>Spring Data Redis 1.0.3.RELEASE to 1.0.4.RELEASE</li>
	<li>Spring Security 3.1.3.RELEASE to 3.1.4.RELEASE</li>
	<li>Spring Web Services 2.1.2 to 2.1.3</li>
	<li>TestNG 6.8 to 6.8.5</li>
	<li>XStream 1.4.3 to 1.4.4</li>

<h2><a name="Camel2.12.0Release-Internalchanges"></a>Internal changes</h2>
	<li>The following classes in <tt>org.apache.camel.processor</tt> has been
removed as they are no longer needed due internal optimization: <tt>UnitOfWorkProcessor</tt>,
<tt>ChildUnitOfWorkProcessor</tt>, <tt>RouteContextProcessor</tt>,
<tt>RouteInflightRepositoryProcessor</tt>, and <tt>RoutePolicyProcessor</tt></li>

<h2><a name="Camel2.12.0Release-Changesthatmayaffectendusers"></a>Changes
that may affect end users</h2>
	<li>The <a href="/confluence/display/CAMEL/File2" title="File2">File</a>
and <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> consumers when
using idempotent repository will no longer invoke <tt>contains</tt> with a directory
name; this has been changed to only be checked for files.</li>
	<li>Shutting down using <a href="/confluence/display/CAMEL/Graceful+Shutdown" title="Graceful
Shutdown">Graceful Shutdown</a> now requires the timeout value to be positive. And
improved logic to avoid getting stuck in waiting for inflight messages, and having counter
go negative.</li>
	<li><a href="/confluence/display/CAMEL/Tracer" title="Tracer">Tracer</a>
now requires explicitly to be enabled on <tt>CamelContext</tt> to be available
and in use.</li>
	<li>The class <tt>org.apache.camel.processor.interceptor.BacklogTracerInterceptor</tt>
has been removed as it was no longer needed due internal optimizations.</li>
	<li>The <a href="/confluence/display/CAMEL/Stream+caching" title="Stream caching">Stream
caching</a> default threshold for spooling to disk has been changed from 64kb to 128kb.</li>

<h2><a name="Camel2.12.0Release-Importantchangestoconsiderwhenupgrading"></a>Important
changes to consider when upgrading</h2>
	<li>Spring 3.0.x is no longer supported.</li>
	<li>The usage of the deprecated built-in <tt>CommonsHttpMessageSender</tt>
has been replaced with <tt>HttpUrlConnectionMessageSender</tt> by <a href="/confluence/display/CAMEL/Spring+Web+Services"
title="Spring Web Services">Spring Web Services</a>. Consider this in case either
the <tt>timeout</tt> or <tt>sslContextParameters</tt> option is used
through the Producer of this component.</li>
	<li><tt>camel-scala-29</tt> module has been removed.</li>

<h2><a name="Camel2.12.0Release-GettingtheDistributions"></a>Getting the

<h3><a name="Camel2.12.0Release-BinaryDistributions"></a>Binary Distributions</h3>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Download Link </th>
<th class='confluenceTh'> PGP Signature file of download </th>
<td class='confluenceTd'> Windows Distribution </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow"></a> </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow"></a> </td>
<td class='confluenceTd'> Unix/Linux/Cygwin Distribution </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow">apache-camel-2.12.0.tar.gz</a> </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow">apache-camel-2.12.0.tar.gz.asc</a> </td>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><b>The above
URLs use redirection</b><br />The above URLs use the Apache Mirror system to redirect
you to a suitable mirror for your download. Some users have experienced issues with some versions
of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from
the above URL then try using <a href="" class="external-link"

<h3><a name="Camel2.12.0Release-SourceDistributions"></a>Source Distributions</h3>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Download Link </th>
<th class='confluenceTh'> PGP Signature file of download </th>
<td class='confluenceTd'> Source for Windows </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow"></a> </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow"></a> </td>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<td class='confluenceTd'> Source for Unix/Linux/Cygwin </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow">apache-camel-2.12.0-src.tar.gz</a> </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow">apache-camel-2.12.0-src.tar.gz.asc</a> </td>

<h3><a name="Camel2.12.0Release-GettingtheBinariesusingMaven2"></a>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 href=""
class="external-link" rel="nofollow">Maven POM</a> is:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: xml; gutter: false" style="font-size:12px; font-family:

<h3><a name="Camel2.12.0Release-SVNTagCheckout"></a>SVN Tag Checkout</h3>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
svn co

<h2><a name="Camel2.12.0Release-Changelog"></a>Changelog</h2>

<p>For a more detailed view of new features and bug fixes, see the:</p>
	<li><a href=";styleName=Html"
class="external-link" rel="nofollow">release notes for 2.12.0</a></li>

        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="">Change
email notification preferences</a>
        <a href="">View
        <a href="">View
        <a href=";showCommentArea=true#addcomment">Add

View raw message