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.1.0 Release
Date Sat, 03 Oct 2009 18:26:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.1.0+Release">Camel
2.1.0 Release</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~davsclaus">Claus
Ibsen</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <h1><a name="Camel2.1.0Release-Camel2.1.0release%28WorkinProgress%29"></a>Camel
2.1.0 release (Work in Progress)</h1>

<div style="padding-right:20px;float:left;margin-left:-20px;"><p><img src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"
align="absmiddle" border="0" /></p></div>
<div style="min-height:200px"></div>

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

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

<ul>
	<li>Pluggable API for Management allowing 3rd party to manage Camel.
	<ul>
		<li>Use <tt>org.apache.camel.spi.ManagementStrategy</tt> to plugin 3rd
party adapter</li>
		<li>Fine grained events notifications is now being emitted using <tt>org.apache.camel.spi.EventNotifier</tt></li>
		<li>Events being fired can be created using a pluggable factory using <tt>org.apache.camel.spi.EventFactory</tt></li>
		<li>Camel now supports using multiple <tt>org.apache.camel.spi.LifecycleStrategy</tt>
strategies, that also allows 3rd party to more easily integrate into Camel.</li>
	</ul>
	</li>
	<li>Overhaul of default <a href="/confluence/display/CAMEL/Camel+JMX" title="Camel
JMX">JMX management</a> in Camel to be much improved with more attributes, mbeans,
operations, statistics, and route timing working as well.
	<ul>
		<li>And yes you can now start/stop routes and individual consumers and producers</li>
		<li>And some special processors such as <a href="/confluence/display/CAMEL/Delayer"
title="Delayer">Delayer</a> and <a href="/confluence/display/CAMEL/Throttler"
title="Throttler">Throttler</a> can be managed to change their delay/throttle values</li>
		<li>You can dynamic manage <a href="/confluence/display/CAMEL/Tracer" title="Tracer">tracing</a>
even for already running applications</li>
		<li><a href="/confluence/display/CAMEL/Error+handling+in+Camel" title="Error handling
in Camel">Error handling in Camel</a> is now also manageable so you for example can
change the redelivery policies.</li>
		<li><a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> consumers
being restarted will pickup any configuration changes on JMS endpoints such as changing <tt>concurrentConsumers</tt>.
And yes its fully managed using JMX.</li>
		<li>And much more...</li>
	</ul>
	</li>
	<li>Improved <a href="/confluence/display/CAMEL/IRC" title="IRC">IRC</a>,
<a href="/confluence/display/CAMEL/XMPP" title="XMPP">XMPP</a>, <a href="/confluence/display/CAMEL/MINA"
title="MINA">MINA</a>, <a href="/confluence/display/CAMEL/Freemarker" title="Freemarker">Freemarker</a>
and <a href="/confluence/display/CAMEL/Velocity" title="Velocity">Velocity</a>
components with much thanks to the Camel community</li>
	<li><a href="/confluence/display/CAMEL/Splitter" title="Splitter">Splitter</a>
and <a href="/confluence/display/CAMEL/Multicast" title="Multicast">Multicast</a>
EIP patterns now support the option <tt>stopOnException</tt> to stop continue
processing at first exception occurred. See their documentation for more details.</li>
	<li><a href="/confluence/display/CAMEL/Error+handling+in+Camel" title="Error handling
in Camel">Error handlers</a> is restricted to be configured on camel context and/or
routes only.</li>
	<li>Camel is now more robust and fault tolerant when shutting down.</li>
	<li>Fixed a race condition when shutting down Camel with <a href="/confluence/display/CAMEL/JMS"
title="JMS">JMS</a> consumers that under some circumstances caused it to appear to
hang</li>
	<li>Added pluggable <tt>org.apache.camel.spi.InflightRepository</tt> with
a basic implementation that can help with graceful shutdown as you can now see how many exchanges
are currently in progress.</li>
	<li><a href="/confluence/display/CAMEL/JMS" title="JMS">JmsEndpoint</a>
is now singleton</li>
	<li>Individual routes can be pre configured to not auto startup when Camel starts:
<tt>autoStartup=false</tt> in XML DSL and <tt>noAutoStartup()</tt>
in Java DSL.</li>
	<li>Camel is more robust on startup as route inputs are deferred to be started at the
very end, ensuring all routes services have been pre started and thus ready when consumers
is started.</li>
	<li>Improved unit test coverage, now having 3500+ unit tests in total.</li>
	<li>Fixed <tt>ConsumerTemplate</tt> not working when it was dependency
injected with <tt>@EndpointInjected</tt> in a <a href="/confluence/display/CAMEL/Bean"
title="Bean">Bean</a>.</li>
	<li>Using IBM special JMS headers now work when sending messages to IBM WebSphere MQ.
IBM special headers uses this prefix: <tt>JMS_IBM_</tt>.</li>
	<li>The ordering of which routes should be started can now be configured by the <tt>startupOrder</tt>
attribute which defines a number. Lowest number is started first.</li>
</ul>


<h3><a name="Camel2.1.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.1.0Release-NewComponents"></a>New <a href="/confluence/display/CAMEL/Components"
title="Components">Components</a></h3>
<ul>
	<li><a href="/confluence/display/CAMEL/Printer" title="Printer">camel-printer</a></li>
	<li><a href="/confluence/display/CAMEL/Cache" title="Cache">camel-cache</a></li>
	<li><a href="/confluence/display/CAMEL/SNMP" title="SNMP">camel-snmp</a></li>
	<li><a href="/confluence/display/CAMEL/JavaSpace" title="JavaSpace">camel-javaspace</a></li>
</ul>


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

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

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

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

<h3><a name="Camel2.1.0Release-NewExamples"></a>New <a href="/confluence/display/CAMEL/Examples"
title="Examples">Examples</a></h3>
<ul>
	<li><a href="/confluence/display/CAMEL/Management+Example" title="Management Example">Management
Example</a></li>
</ul>


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

<h3><a name="Camel2.1.0Release-DSLchanges"></a>DSL changes</h3>

<p>In the Java DSL the <tt>.errorHandler</tt> is now restricted to be configured
on camel context and/or routes only. That means for configuring on routes you have to set
it directly after the <tt>.from</tt> DSL.</p>

<p>In Spring DSL the <tt>errorHandlerRef</tt> attribute is now only visible
on the <tt>&lt;camelContext&gt;</tt> and <tt>&lt;route&gt;</tt>
XML tags.</p>

<h3><a name="Camel2.1.0Release-New.jardependencies"></a>New .jar dependencies</h3>

<p>camel-core now depends on commons-management.jar to facilitate the new overhauled
management.<br/>
This project is hosted at <a href="http://commonman.fusesource.org/" rel="nofollow">FuseForge</a></p>

<p>This .jar can be retrieved from the maven central repo at: <a href="http://repo1.maven.org/maven2/org/fusesource/commonman/commons-management/1.0/"
rel="nofollow">http://repo1.maven.org/maven2/org/fusesource/commonman/commons-management/1.0/</a><br/>
The maven dependency details are:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
 &lt;groupId&gt;org.fusesource.commonman&lt;/groupId&gt;
 &lt;artifactId&gt;commons-management&lt;/artifactId&gt;
 &lt;version&gt;1.0&lt;/version&gt;
</pre>
</div></div>

<h3><a name="Camel2.1.0Release-CoreAPI"></a>Core API</h3>

<h4><a name="Camel2.1.0Release-CamelContext"></a>CamelContext</h4>
<p>CamelContext have renamed the method <tt>getLifecycleStrategy</tt> to
<tt>getLifecycleStrategies</tt> and now returns a List.</p>

<h4><a name="Camel2.1.0Release-Management"></a>Management</h4>
<p>The API in <tt>org.apache.camel.spi.ManagementNamingStrategy</tt> had
its methods renaming and method signature adjusted to accommodate the big theme for Camel
which was overhaul of management (JMX).</p>

<h3><a name="Camel2.1.0Release-ClientAPI"></a>Client API</h3>

<h3><a name="Camel2.1.0Release-Removedclasses"></a>Removed classes</h3>
<ul>
	<li><tt>org.apache.camel.processor.CompositeProcessor</tt> was never used</li>
	<li><tt>org.apache.camel.impl.ProducerTemplateProcessor</tt> was never
used</li>
	<li><tt>org.apache.camel.impl.NoPolicy</tt> was never used</li>
	<li><tt>org.apache.camel.spring.handler.LazyLoadingBeanDefinitionParser</tt>
was never used</li>
	<li><tt>org.apache.camel.spring.handler.ScriptDefinitionParser</tt> was
never used</li>
	<li><tt>org.apache.camel.spring.remoting.SendBeforeInterceptor</tt> was
never used</li>
	<li><tt>org.apache.camel.spring.spi.SpringConverters</tt> was never used</li>
</ul>


<h3><a name="Camel2.1.0Release-Removedmethods"></a>Removed methods</h3>
<ul>
	<li><tt>getSingletonEndpoints</tt> method have been removed from various
classes in the <tt>camel-test</tt> component.</li>
</ul>



<h2><a name="Camel2.1.0Release-KnownIssues"></a>Known Issues</h2>
<p>See known issues from previous releases.</p>

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

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

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

<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.1.0/apache-camel-2.1.0.zip"
rel="nofollow">apache-camel-2.1.0.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.1.0/apache-camel-2.1.0.zip.asc"
rel="nofollow">apache-camel-2.1.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.1.0/apache-camel-2.1.0.tar.gz"
rel="nofollow">apache-camel-2.1.0.tar.gz</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.1.0/apache-camel-2.1.0.tar.gz.asc"
rel="nofollow">apache-camel-2.1.0.tar.gz.asc</a> </td>
</tr>
</tbody></table>
<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 /><p>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/"
rel="nofollow">FireFox</a></p></td></tr></table></div>

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

<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.1.0/apache-camel-2.1.0-src.zip"
rel="nofollow">apache-camel-2.1.0-src.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.1.0/apache-camel-2.1.0-src.zip.asc"
rel="nofollow">apache-camel-2.1.0-src.zip.asc</a> </td>
</tr>
</tbody></table>

<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.1.0/apache-camel-2.1.0-src.tar.gz"
rel="nofollow">apache-camel-2.1.0-src.tar.gz</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/activemq/apache-camel/2.1.0/apache-camel-2.1.0-src.tar.gz.asc"
rel="nofollow">apache-camel-2.1.0-src.tar.gz.asc</a> </td>
</tr>
</tbody></table>

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

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

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

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

     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.1.0+Release">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=2852389&revisedVersion=29&originalVersion=28">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.1.0+Release?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message