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.6.0 Release
Date Mon, 29 Nov 2010 13:06: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.6.0+Release">Camel
2.6.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" >* Fixed {{markRollbackOnlyLast}} when
used with inner/outer transactions. <br>* {{InterceptStrategy}} is now default ordered
in the order they are added to the [CamelContext]. However you can dictate the order by implementing
the {{org.apache.camel.util.Ordered}} interface.  <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Made it easier to load routes from XML files using {{loadRoutesDefinition}} method from [CamelContext].
<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.6.0Release-Camel2.6.0release%28currentlyinprogress%29"></a>Camel
2.6.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.6.0Release-NewandNoteworthy"></a>New and Noteworthy</h2>

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

<ul>
	<li>Fixed issue in OSGi with refreshing Camel bundles causing a race condition when
discovering type converters</li>
	<li>Introduced <a href="/confluence/display/CAMEL/ScheduledRoutePolicy" title="ScheduledRoutePolicy">ScheduledRoutePolicy</a>
with the <a href="/confluence/display/CAMEL/Quartz" title="Quartz">Quartz</a>
component</li>
	<li>Java DSL <a href="/confluence/display/CAMEL/RouteBuilder" title="RouteBuilder">RouteBuilder</a>
now fails if <tt>onException</tt> and the likes are not configured before routes,
which they must.</li>
	<li>Easier to debug routes from <tt>camel-test</tt> using the <a href="/confluence/display/CAMEL/Debugger"
title="Debugger">Debugger</a></li>
	<li>Fixed problem installing <tt>camel-cxf</tt> feature on Apache Karaf.</li>
	<li>The <a href="/confluence/display/CAMEL/EIP" title="EIP">EIP</a> now
supports <a href="/confluence/display/CAMEL/Properties" title="Properties">property
placeholders</a> in the <tt>String</tt> based options (a few spots in Java
DSL where its not possible). For example: 
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;convertBodyTo type=<span
class="code-quote">"String"</span> charset=<span class="code-quote">"{{foo.myCharset}}"</span>/&gt;</span></pre>
</div></div></li>
	<li>Introduced <a href="/confluence/display/CAMEL/ScheduledRoutePolicy" title="ScheduledRoutePolicy">ScheduledRoutePolicy</a>
to allow you to schedule when routes should be active.</li>
	<li>Introduced <tt>stepwise</tt> option to <a href="/confluence/display/CAMEL/FTP2"
title="FTP2">FTP</a> component to allow end users to control how to traverse directories
of the FTP servers. This allows you to set <tt>stepwise=false</tt> to return back
to the behavior from Camel 2.0 - 2.4. See more at the <a href="/confluence/display/CAMEL/FTP2"
title="FTP2">FTP</a> documentation.</li>
	<li>Added <tt>separator</tt> option to <a href="/confluence/display/CAMEL/FTP2"
title="FTP2">FTP</a> component to allow end users to control what path separator
to use when uploading files to remote FTP servers. For example if a Windows based FTP server
only accept Windows paths, then you can set this option to <tt>Windows</tt>.</li>
	<li><a href="/confluence/display/CAMEL/Threading+Model" title="Threading Model">Thread
names</a> now outputs <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a>
name which makes it easier to differentiate when running multiple Camel applications in the
same JVM.</li>
	<li>Introduced <tt>contentCache</tt> option to <a href="/confluence/display/CAMEL/XSLT"
title="XSLT">XSLT</a> component to allow easy reloading of stylesheets during development.</li>
	<li>Improved <a href="/confluence/display/CAMEL/Camel+JMX" title="Camel JMX">Camel
JMX</a> to always find next free name when registering in JMX and existing name exists
(to remedy name clash). This makes it easier when deploying muliple WARs in the same JVM where
the Camel applications may have same <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a>
id. In OSGi the name in JMX now has the bundle id as prefix.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/BeanShell" title="BeanShell">BeanShell</a>
language</li>
	<li><a href="/confluence/display/CAMEL/Quartz" title="Quartz">Quartz</a>
now supports using older versions (eg versions 1.6/1.7) of quartz JARs.</li>
	<li>The <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregator</a>
EIP will use a synchronous invocation when processing completed aggregated <a href="/confluence/display/CAMEL/Exchange"
title="Exchange">Exchange</a>s, when not running in parallel mode. This ensures no
internal task queue is used, which otherwise could stack up tasks and under certain conditions
eat up memory. Enable <tt>parallelProcessing</tt> if you want to use a separate
thread for processing completed aggregated <a href="/confluence/display/CAMEL/Exchange"
title="Exchange">Exchange</a>s.</li>
	<li><a href="/confluence/display/CAMEL/LDAP" title="LDAP">LDAP</a> supports
paging.</li>
	<li><a href="/confluence/display/CAMEL/CXF" title="CXF">CXF</a> and <a
href="/confluence/display/CAMEL/CXFRS" title="CXFRS">CXFRS</a> use the CXF continuation
API when using CXF 2.3.x.</li>
	<li>Fixed a rare situation in which an <a href="/confluence/display/CAMEL/Exchange"
title="Exchange">Exchange</a> could be lost during graceful shutdown on the <a
href="/confluence/display/CAMEL/SEDA" title="SEDA">SEDA</a> endpoints, usually more
apparent on high volume systems.</li>
	<li>Improved support for Locale in <a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a>
for Number and Date formats.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Multicast" title="Multicast">Multicast</a>,
<a href="/confluence/display/CAMEL/Splitter" title="Splitter">Splitter</a>, <a
href="/confluence/display/CAMEL/Recipient+List" title="Recipient List">Recipient List</a>
to work as the <a href="/confluence/display/CAMEL/Pipes+and+Filters" title="Pipes and Filters">Pipes
and Filters</a> would do, breaking to continue routing if a sub exchange failed and
was handled by an <a href="/confluence/display/CAMEL/Exception+Clause" title="Exception
Clause">Exception Clause</a>. Previously you would have to detect this manually in
the <tt>AggregationStrategy</tt>.</li>
	<li>Constant fields from <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a>
can be referred in the <a href="/confluence/display/CAMEL/DSL" title="DSL">DSL</a>
from a String attribute using the class type style. This makes the Java DSL and Spring XML
more similar. And you got type safe as Camel throws exception if you had a typo.<br/>
For example: 
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;setHeader headerName=<span
class="code-quote">"Exchange.FILE_NAME"</span>&gt;</span><span class="code-tag">&lt;constant&gt;</span>myfile.txt<span
class="code-tag">&lt;/constant&gt;</span><span class="code-tag">&lt;/setHeader&gt;</span></pre>
</div></div>
<p> </p></li>
	<li><a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a>
now contains the creation timestamp when it was created as a <tt>java.util.Date</tt>
object stores as a property with the key <tt>Exchange.CREATION_TIMESTAMP</tt></li>
	<li>Camel fails fast on startup if <a href="/confluence/display/CAMEL/Load+Balancer"
title="Load Balancer">Load Balancer</a> has been misconfigured, such as configuring
two different load balancers in one</li>
	<li>Fixed <tt>markRollbackOnlyLast</tt> when used with inner/outer transactions.</li>
	<li><tt>InterceptStrategy</tt> is now default ordered in the order they
are added to the <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a>.
However you can dictate the order by implementing the <tt>org.apache.camel.util.Ordered</tt>
interface.</li>
	<li>Made it easier to load routes from XML files using <tt>loadRoutesDefinition</tt>
method from <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a>.</li>
</ul>


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

<ul>
	<li><a href="/confluence/display/CAMEL/Spring+Web+Services" title="Spring Web Services">Spring
Web Services</a></li>
	<li><a href="/confluence/display/CAMEL/JMX" title="JMX">JMX</a></li>
</ul>


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

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

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

<ul>
	<li><a href="/confluence/display/CAMEL/Syslog" title="Syslog">Syslog</a></li>
</ul>


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

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

<ul>
	<li><a href="/confluence/display/CAMEL/JMX+Component+Example" title="JMX Component
Example">JMX Component Example</a></li>
</ul>


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

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

<ul>
	<li><tt>camel-test</tt> JAR in the <tt>CamelSpringTestSupport</tt>
classes now returns a more generic <tt>AbstractApplicationContext</tt> type in
the <tt>createApplicationContext</tt> method.</li>
	<li>Added <tt>prepareShutdown</tt> method to <tt>ShutdownAware</tt>
SPI interface.</li>
</ul>


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

<ul>
	<li>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.</li>
	<li>Not all <a href="/confluence/display/CAMEL/Examples" title="Examples">Examples</a>
have ANT build.xml files to run the example using ANT.</li>
	<li>Project cannot be fully build using Maven 3.0</li>
	<li>One may encounter build errors in camel-ftp with java versions older than "1.5.0_24"</li>
	<li>Dozer does not work in OSGi</li>
	<li><tt>camel-blueprint</tt> is not fully feature complete (such as @Producer,
@Consume is not supported)</li>
	<li><tt>camel-blueprint</tt> using &lt;package&gt; scan does not
work</li>
</ul>


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

<ul>
	<li>Upgraded to Spring 3.0.5</li>
	<li>Upgraded to Apache CXF 2.3.0 (although CXF 2.2.11 is still supported)</li>
	<li>Upgraded to Jetty 7.2.0.v20101020</li>
	<li>The Java DSL now enforces <tt>onException</tt> and the likes to be
defined <b>before</b> routes, if not Camel will fail starting the route.</li>
	<li>The <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregator</a>
EIP will use a synchronous invocation when processing completed aggregated <a href="/confluence/display/CAMEL/Exchange"
title="Exchange">Exchange</a>s, when not running in parallel mode. This ensures no
internal task queue is used, which otherwise could stack up tasks and under certain conditions
eat up memory. Enable <tt>parallelProcessing</tt> if you want to use a separate
thread for processing completed aggregated <a href="/confluence/display/CAMEL/Exchange"
title="Exchange">Exchange</a>s.</li>
	<li>Camel now fails fast if staring a <tt>LifecycleStrategy</tt> fails
on startup. For example if there is issue with <a href="/confluence/display/CAMEL/Camel+JMX"
title="Camel JMX">JMX</a> that will now cause Camel to not startup at all. If you
have trouble with JMX before you can disable JMX on Camel and allow it to startup.</li>
</ul>



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

<h3><a name="Camel2.6.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/camel/apache-camel/2.6.0/apache-camel-2.6.0.zip"
class="external-link" rel="nofollow">apache-camel-2.6.0.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/camel/apache-camel/2.6.0/apache-camel-2.6.0.zip.asc"
class="external-link" rel="nofollow">apache-camel-2.6.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/camel/apache-camel/2.6.0/apache-camel-2.6.0.tar.gz"
class="external-link" rel="nofollow">apache-camel-2.6.0.tar.gz</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/camel/apache-camel/2.6.0/apache-camel-2.6.0.tar.gz.asc"
class="external-link" rel="nofollow">apache-camel-2.6.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.6.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/camel/apache-camel/2.6.0/apache-camel-2.6.0-src.zip"
class="external-link" rel="nofollow">apache-camel-2.6.0-src.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/camel/apache-camel/2.6.0/apache-camel-2.6.0-src.zip.asc"
class="external-link" rel="nofollow">apache-camel-2.6.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/camel/apache-camel/2.6.0/apache-camel-2.6.0-src.tar.gz"
class="external-link" rel="nofollow">apache-camel-2.6.0-src.tar.gz</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/camel/apache-camel/2.6.0/apache-camel-2.6.0-src.tar.gz.asc"
class="external-link" rel="nofollow">apache-camel-2.6.0-src.tar.gz.asc</a> </td>
</tr>
</tbody></table>
</div>


<h3><a name="Camel2.6.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.6.0<span class="code-tag">&lt;/version&gt;</span>
<span class="code-tag">&lt;/dependency&gt;</span>
</pre>
</div></div>

<h3><a name="Camel2.6.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.6.0</span>
</pre>
</div></div>

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

<p>For a more detailed view of new features and bug fixes, see the:</p>
<ul>
	<li><a href="http://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=11020&amp;styleName=Html&amp;version=12340"
class="external-link" rel="nofollow">release notes for 2.6.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.6.0+Release">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24184529&revisedVersion=35&originalVersion=34">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.6.0+Release?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message