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 Tue, 15 Jun 2010 05:36: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 (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" >* Tighten up the {{ProducerTemplate}}
API a bit, see more details in the section _Important changes to consider when upgrading_.
<br>* Add ability to configure [Bindy] to remove whitespace when binding Integer positions
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Manually started routes is now also graceful shutdown by Camel <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>
        </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>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> takes the expression parameter as <a href="/confluence/display/CAMEL/Recipient+List"
title="Recipient List">Recipient List</a> does, and you can also</li>
	<li>The security context can be passed the camel-cxf to other camel components.</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>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><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>Add ability to configure <a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a>
to remove whitespace when binding Integer positions</li>
	<li>Manually started routes is now also graceful shutdown by Camel</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><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. However the <tt>send/request</tt>
methods (which returns an <tt>Exchange</tt>) will <b>not</b> throw
an exception on failure. The caused exception is stored on the returned <tt>Exchange</tt>
which you can access using the <tt>getException</tt> method.</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=13&originalVersion=12">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