camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Camel > Camel 2.4.0 Release
Date Sat, 26 Jun 2010 08:59:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
type="text/css">
    </head>
<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="https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.4.0+Release">Camel
2.4.0 Release</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~davsclaus">Claus
Ibsen</a>
    </h4>
        <br/>
                         <h4>Changes (4)</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" >* Upgraded to latest [Quartz] release
1.8.3. <br>* Introduced {{StartupListener}} to allow components/endpoints/producers/consumers
etc. as a listener to be notified when {{CamelContext}} have just been started. This allows
any custom logic to be executed as a late starter. This ensures [Quartz] scheduler is only
started when all the routes and so forth is started and running. <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">*
Fixed issue with [FTP|FTP2] not sending absolute paths in the starting directory when logging
into FTP server. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Fixed issue with [FTP|FTP2] configuring starting directory from uri not accepting an absolute
path. In the endpoint uri just define two leading / to indicate absolute, eg {{&quot;ftp:admin:secret@someserver//absolutepath/foo/bar&quot;}}.
<br></td></tr>
            <tr><td class="diff-unchanged" > <br>h3. New [Enterprise Integration
Patterns] <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >The [{{ftps}}|FTP2] is now using secure
data channel also when transferring files. There has been added some options which you can
use to control the behavior and turn it off if you want the old behavior (only secure login).
<br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">The
[FTP|FTP2] does not strip leading / in the starting directory, which means it now can send
absolute starting paths which is expected by most FTP servers. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">The
[FTP|FTP2] starting directory can now be set using absolute paths as well. In the endpoint
uri just define two leading / to indicate absolute, eg {{&quot;ftp:admin:secret@someserver//absolutepath/foo/bar&quot;}}.
<br></td></tr>
            <tr><td class="diff-unchanged" > <br>The default port from [{{ftps}}|FTP2]
has been changed from 2222 to 21.  <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="Camel2.4.0Release-Camel2.4.0release%28currentlyinprogress%29"></a>Camel
2.4.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><a name="Camel2.4.0Release-NewandNoteworthy"></a>New and Noteworthy</h2>

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

<ul>
	<li>Fully non blocking <a href="/confluence/display/CAMEL/Asynchronous+Processing"
title="Asynchronous Processing">asynchronous routing engine</a> which various <a
href="/confluence/display/CAMEL/EIP" title="EIP">EIP</a> and Camel <a href="/confluence/display/CAMEL/Components"
title="Components">Components</a> supports.</li>
	<li>Fixed a potential dead-lock when using <a href="/confluence/display/CAMEL/Aggregator2"
title="Aggregator2">Aggregator</a> with timeout completion set.</li>
	<li>The <b>camel-spring</b> module now supports OSGi out of box, which
renders <b>camel-osgi</b> as <b>@deprecated</b>.</li>
	<li>Added new <a href="/confluence/display/CAMEL/Spring" title="Spring"><tt>&lt;contextScan&gt;</tt></a>
to scan the <a href="/confluence/display/CAMEL/Registry" title="Registry">Registry</a>
for <tt>RouteBuilder</tt> instances, just as scanning the classpath etc.</li>
	<li>Manually started routes is now also <a href="/confluence/display/CAMEL/Graceful+Shutdown"
title="Graceful Shutdown">Graceful Shutdown</a> by Camel</li>
	<li>Fixed issue using <a href="/confluence/display/CAMEL/Configuring+Camel" title="Configuring
Camel">RouteContextRef</a> with multiple <a href="/confluence/display/CAMEL/CamelContext"
title="CamelContext">CamelContext</a> from the same Spring ApplicationContext.</li>
	<li><a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a> now
supports Fixed-Length format message with padding, alignment (Left or Right)</li>
	<li>Improved and fixes some issues with the <a href="/confluence/display/CAMEL/FTP2"
title="FTP2">FTP</a> component.</li>
	<li>Improved and fixed some issues using <tt>MultiPartForm</tt> with <a
href="/confluence/display/CAMEL/Jetty" title="Jetty">Jetty</a>.</li>
	<li>Add ability to configure <a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a>
to remove whitespace when binding <tt>Numeric</tt> positions</li>
	<li>Added option <tt>useOriginalBody</tt> to <a href="/confluence/display/CAMEL/OnCompletion"
title="OnCompletion">OnCompletion</a></li>
	<li>Fixed issue when using mockito for testing when it uses CGLib proxies</li>
	<li>Fixed issue with <tt>@Consume</tt> not running in an unit of work to
ensure callbacks is invoked when its done</li>
	<li><a href="/confluence/display/CAMEL/Routing+Slip" title="Routing Slip">Routing
Slip</a> now uses <a href="/confluence/display/CAMEL/Expression" title="Expression">Expression</a>
to define the slip. This is similar to the <a href="/confluence/display/CAMEL/Recipient+List"
title="Recipient List">Recipient List</a> pattern</li>
	<li>The security context can be passed from <a href="/confluence/display/CAMEL/CXF"
title="CXF">CXF</a> to other camel <a href="/confluence/display/CAMEL/Components"
title="Components">Components</a>.</li>
	<li><tt>ManagementAgent</tt> settings can now be set using setters from
Java, instead of having to use JVM system properties. See tip in <a href="/confluence/display/CAMEL/Camel+JMX"
title="Camel JMX">Camel JMX</a> wiki page.</li>
	<li><a href="/confluence/display/CAMEL/Resequencer" title="Resequencer">Resequencer</a>
in batch mode has two new options <tt>allowDuplicates</tt> and <tt>reverse</tt>
which allows you to use it for re-ordering messages from <a href="/confluence/display/CAMEL/JMS"
title="JMS">JMS</a> queues based on <tt>JMSPriority</tt></li>
	<li>Tighten up the <tt>ProducerTemplate</tt> API a bit, see more details
in the section <em>Important changes to consider when upgrading</em>.</li>
	<li><a href="/confluence/display/CAMEL/HTTP" title="HTTP">HTTP</a> now
better supports sending binary files.</li>
	<li>Fixed problem with using <a href="/confluence/display/CAMEL/Quartz" title="Quartz">Quartz</a>
in OSGi and having Camel applications being hot-deployed which potentially could cause <a
href="/confluence/display/CAMEL/Quartz" title="Quartz">Quartz</a> to stop scheduling
in applications which haven't been stopped.</li>
	<li>Fixed issue with pausing and resuming jobs when running <a href="/confluence/display/CAMEL/Quartz"
title="Quartz">Quartz</a> in clustered mode</li>
	<li>Added options on <a href="/confluence/display/CAMEL/Quartz" title="Quartz">Quartz</a>
component to specify location of custom <tt>quartz.properties</tt> file to load
from classpath.</li>
	<li>Upgraded to latest <a href="/confluence/display/CAMEL/Quartz" title="Quartz">Quartz</a>
release 1.8.3.</li>
	<li>Introduced <tt>StartupListener</tt> to allow components/endpoints/producers/consumers
etc. as a listener to be notified when <tt>CamelContext</tt> have just been started.
This allows any custom logic to be executed as a late starter. This ensures <a href="/confluence/display/CAMEL/Quartz"
title="Quartz">Quartz</a> scheduler is only started when all the routes and so forth
is started and running.</li>
	<li>Fixed issue with <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a>
configuring starting directory from uri not accepting an absolute path. In the endpoint uri
just define two leading / to indicate absolute, eg <tt>"ftp:admin:secret@someserver//absolutepath/foo/bar"</tt>.</li>
</ul>


<h3><a name="Camel2.4.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.4.0Release-NewComponents"></a>New <a href="/confluence/display/CAMEL/Components"
title="Components">Components</a></h3>

<ul>
	<li><a href="/confluence/display/CAMEL/EJB" title="EJB">EJB</a> to access
<a href="/confluence/display/CAMEL/EJB" title="EJB">EJB</a> beans in a similar
way as with the <a href="/confluence/display/CAMEL/Bean" title="Bean">Bean</a>
component</li>
	<li><a href="/confluence/display/CAMEL/Class" title="Class">Class</a> to
invoke beans defined using the fully qualified class name</li>
</ul>


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

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

<ul>
	<li><tt>@RoutingSlip</tt></li>
</ul>


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

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

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

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

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

<p>The <a href="/confluence/display/CAMEL/ToAsync" title="ToAsync">ToAsync</a>
has been removed and replaced with a better <a href="/confluence/display/CAMEL/Asynchronous+Processing"
title="Asynchronous Processing">asynchronous routing engine</a>.</p>

<p><a href="/confluence/display/CAMEL/Routing+Slip" title="Routing Slip">Routing
Slip</a> now requires using <a href="/confluence/display/CAMEL/Expression" title="Expression">Expression</a>
to specify the routing slip header, the XML DSL of <a href="/confluence/display/CAMEL/Routing+Slip"
title="Routing Slip">Routing Slip</a> is broken.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
    <span class="code-tag">&lt;route&gt;</span>
       <span class="code-tag">&lt;from uri=<span class="code-quote">"direct:a"</span>/&gt;</span>
       <span class="code-tag"><span class="code-comment">&lt;!--NOTE from
Camel 2.4.0, you need to specify the expression element inside of the routingSlip element
--&gt;</span></span>
       <span class="code-tag">&lt;routingSlip ignoreInvalidEndpoints=<span class="code-quote">"true"</span>&gt;</span>
           <span class="code-tag">&lt;header&gt;</span>myHeader<span
class="code-tag">&lt;/header&gt;</span>
       <span class="code-tag">&lt;/routingSlip&gt;</span>
    <span class="code-tag">&lt;/route&gt;</span>
</pre>
</div></div>


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

<p>The <a href="/confluence/display/CAMEL/Tracer" title="Tracer">Tracer</a>
may not output all details for some situations such as when using <tt>onCompletion</tt>
or <tt>intercept</tt> etc.</p>

<p>Not all <a href="/confluence/display/CAMEL/Examples" title="Examples">Examples</a>
have ANT build.xml files to run the example using ANT.</p>

<h2><a name="Camel2.4.0Release-Importantchangestoconsiderwhenupgrading"></a>Important
changes to consider when upgrading</h2>

<p><tt>IntrospectionSupport</tt> has been improved to be consistent for
<tt>getProperty</tt> and <tt>getProperties</tt>. Also <tt>getProperties</tt>
now find all relevant properties. This will often only be relevant for Camel end users who
build their own components any may use <tt>IntrospectionSupport</tt>.</p>

<p>The <tt>ProducerTemplate</tt> have been tighten up a bit. All <tt>send/request
-body</tt> methods will now throw a <tt>CamelExecutionException</tt> with
the cause wrapped. This ensures its consistent. </p>

<p>The <a href="/confluence/display/CAMEL/FTP2" title="FTP2"><tt>ftps</tt></a>
is now using secure data channel also when transferring files. There has been added some options
which you can use to control the behavior and turn it off if you want the old behavior (only
secure login).</p>

<p>The <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> starting
directory can now be set using absolute paths as well. In the endpoint uri just define two
leading / to indicate absolute, eg <tt>"ftp:admin:secret@someserver//absolutepath/foo/bar"</tt>.</p>

<p>The default port from <a href="/confluence/display/CAMEL/FTP2" title="FTP2"><tt>ftps</tt></a>
has been changed from 2222 to 21. </p>

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

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

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Download Link </th>
<th class='confluenceTh'> PGP Signature file of download </th>
</tr>
<tr>
<td class='confluenceTd'> Windows Distribution </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/2.4.0/apache-camel-2.4.0.zip"
class="external-link" rel="nofollow">apache-camel-2.4.0.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.4.0/apache-camel-2.4.0.zip.asc"
class="external-link" rel="nofollow">apache-camel-2.4.0.zip.asc</a> </td>
</tr>
<tr>
<td class='confluenceTd'> Unix/Linux/Cygwin Distribution </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/2.4.0/apache-camel-2.4.0.tar.gz"
class="external-link" rel="nofollow">apache-camel-2.4.0.tar.gz</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.4.0/apache-camel-2.4.0.tar.gz.asc"
class="external-link" rel="nofollow">apache-camel-2.4.0.tar.gz.asc</a> </td>
</tr>
</tbody></table>
</div>

<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="http://www.mozilla.com/en-US/firefox/" class="external-link"
rel="nofollow">FireFox</a></td></tr></table></div>

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

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Download Link </th>
<th class='confluenceTh'> PGP Signature file of download </th>
</tr>
<tr>
<td class='confluenceTd'> Source for Windows </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/2.4.0/apache-camel-2.4.0-src.zip"
class="external-link" rel="nofollow">apache-camel-2.4.0-src.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.4.0/apache-camel-2.4.0-src.zip.asc"
class="external-link" rel="nofollow">apache-camel-2.4.0-src.zip.asc</a> </td>
</tr>
</tbody></table>
</div>


<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<td class='confluenceTd'> Source for Unix/Linux/Cygwin </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/2.4.0/apache-camel-2.4.0-src.tar.gz"
class="external-link" rel="nofollow">apache-camel-2.4.0-src.tar.gz</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.4.0/apache-camel-2.4.0-src.tar.gz.asc"
class="external-link" rel="nofollow">apache-camel-2.4.0-src.tar.gz.asc</a> </td>
</tr>
</tbody></table>
</div>


<h3><a name="Camel2.4.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="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html"
class="external-link" rel="nofollow">Maven POM</a> is:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
<span class="code-tag">&lt;dependency&gt;</span>
  <span class="code-tag">&lt;groupId&gt;</span>org.apache.camel<span
class="code-tag">&lt;/groupId&gt;</span>
  <span class="code-tag">&lt;artifactId&gt;</span>camel-core<span class="code-tag">&lt;/artifactId&gt;</span>
  <span class="code-tag">&lt;version&gt;</span>2.4.0<span class="code-tag">&lt;/version&gt;</span>
<span class="code-tag">&lt;/dependency&gt;</span>
</pre>
</div></div>

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

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
svn co http:<span class="code-comment">//svn.apache.org/repos/asf/camel/tags/camel-2.4.0</span>
</pre>
</div></div>

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

<p>For a more detailed view of new features and bug fixes, see the:<br/>
TODO: Fix for 2.4.0</p>
<ul>
	<li><a href="http://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=11020&amp;styleName=Html&amp;version=11900"
class="external-link" rel="nofollow">release notes for 2.4.0</a></li>
</ul>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.4.0+Release">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=21790765&revisedVersion=25&originalVersion=24">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.4.0+Release?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message