camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Camel > Camel 2.11.0 Release
Date Sun, 23 Sep 2012 12:12:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/2042/9/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.11.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" >* The default value of the {{delay}}
option on [Timer] has been changed from {{0}} to {{1000}} <br>* The default value of
the {{convertLFtoCR}} option of the [HL7] MLLP codec has been changed from {{true}} to {{false}}.
Likewise, the [HL7] DataFormat and TypeConverter do not perform this conversion anymore. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
The [Simple] language has limited its support for the escape character to only new line, carrie
return and tab characters. This makes it easier to use back-slash characters in the [Simple]
language without double escaping etc.  <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h2. Notice <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="Camel2.11.0Release-Camel2.11.0release%28currentlyinprogress%29"></a>Camel
2.11.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.11.0Release-NewandNoteworthy"></a>New and Noteworthy</h2>

<p>Welcome to the 2.11.0 release with approximately XXX issues resolved - including
new features, improvements, and bug fixes, such as: </p>

	<li>Added support for SOAP 1.2 in <a href="/confluence/display/CAMEL/SOAP" title="SOAP">SOAP</a>
data format.</li>
	<li><a href="/confluence/display/CAMEL/Cache" title="Cache">Cache</a> operation
for add/update now supports expiry headers to control time to live/idle/eternal.</li>
	<li>Added <tt>allowNullBody</tt> option to <a href="/confluence/display/CAMEL/JMS"
title="JMS">JMS</a> to configure whether sending messages with no body is allowed.</li>
	<li>Added <tt>connectOnStartup</tt> option to <a href="/confluence/display/CAMEL/HDFS"
title="HDFS">HDFS</a> to allow to connect on demand, to avoid having Hadoop block
for long time connecting to the HDFS cluster, as it has a hardcoded 15 minute retry mechanism.</li>
	<li>Added support for daily and weekly trends to <a href="/confluence/display/CAMEL/Twitter"
title="Twitter">Twitter</a> component.</li>
	<li>The <a href="/confluence/display/CAMEL/Camel+Maven+Archetypes" title="Camel
Maven Archetypes">Camel Maven Archetypes</a> now generates projects without any license
	<li>Added 'rejectOld' option to the <a href="/confluence/display/CAMEL/Resequencer"
title="Resequencer">Resequencer</a> to prevent out of order messages from being delivered
after capacity/timeout events occur</li>
	<li>Further optimized <a href="/confluence/display/CAMEL/XPath" title="XPath">XPath</a>
under concurrent load, and as well ensured resources are cleaned up eagerly</li>
	<li>Added options <tt>allowNullBody</tt> and <tt>readLockMinLength</tt>
to the <a href="/confluence/display/CAMEL/File2" title="File2">File</a> and <a
href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> components.</li>
	<li>Made <tt>changed</tt> read lock strategy on <a href="/confluence/display/CAMEL/FTP2"
title="FTP2">FTP</a> go faster (eg when the FTP server has a lot of files in the
directory) if you enable the <tt>fastExistsCheck=true</tt> option as well. Notice
that some FTP server may not support this.</li>
	<li><a href="/confluence/display/CAMEL/HL7" title="HL7">HL7</a> moves to
HAPI 2.0 and supports using a dedicated Parser instance in the <a href="/confluence/display/CAMEL/HL7"
title="HL7">HL7</a> MLLP codec and DataFormat. Added "Terser" language and expression
to be able to extract fields from a parsed message. <a href="/confluence/display/CAMEL/HL7"
title="HL7">HL7</a> now uses Apache Mina 2.x.</li>
	<li>Add an option <tt>HttpMethodRestrict</tt> to restrict HTTP method in
<a href="/confluence/display/CAMEL/Jetty" title="Jetty">Jetty</a> and <a href="/confluence/display/CAMEL/SERVLET"
	<li>Add support for selection of <a href="/confluence/display/CAMEL/Direct-VM" title="Direct-VM">Direct&#45;VM</a>
consumers by using ant-like path expression.</li>
	<li>The <a href="/confluence/display/CAMEL/POJO+Producing" title="POJO Producing">POJO
Producing</a>, and <a href="/confluence/display/CAMEL/POJO+Consuming" title="POJO
Consuming">POJO Consuming</a> with @Consume, @Produce, @EndpointInject now supports
a new {{property} attribute to get the endpoint configuration from a bean property (eg using
a getter method); this allows you to configure this on the bean using conventional bean configuration.</li>
	<li>Testing with <tt>camel-test-blueprint</tt> on Windows no longer tries
to cleanup after testing taking up 5 seconds and logging WARNs.</li>
	<li>The <a href="/confluence/display/CAMEL/File2" title="File2">File</a>,
and <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> components now
support <tt>fileExist=Move</tt> option to move any existing files before writing
a file.</li>
	<li>Added option <tt>loadStatisticsEnabled</tt> on <a href="/confluence/display/CAMEL/Camel+JMX"
title="Camel JMX">Camel JMX</a> to allow to disable load statistics if not needed
(avoids a background thread being in use, to calculate the load stats).</li>
	<li>Enabled "lazy connections" for <a href="/confluence/display/CAMEL/XMPP" title="XMPP">XMPP</a>
providers via the <tt>testConnectionOnStartup</tt> option</li>
	<li>Added a connection monitor to detect and fix dropped <a href="/confluence/display/CAMEL/XMPP"
title="XMPP">XMPP</a> consumer connections at configurable <tt>connectionPollDelay</tt>
	<li>Added an <tt>org.apache.camel.builder.ExchangeBuilder</tt> to build
the <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a>
using a builder pattern.</li>
	<li>The <a href="/confluence/display/CAMEL/Camel+Run+Maven+Goal" title="Camel Run
Maven Goal">Camel Run Maven Goal</a> can now run <a href="/confluence/display/CAMEL/CDI"
title="CDI">CDI</a> applications.</li>
	<li>The Camel <a href="/confluence/display/CAMEL/CDI" title="CDI">CDI</a>
component has improved a lot.</li>
	<li>Added option <tt>allowRedeliveryWhileStopping</tt> to <a href="/confluence/display/CAMEL/Dead+Letter+Channel"
title="Dead Letter Channel">error handlers</a> to control if redelivery is allowed
during stopping/shutting down Camel or the route(s). Turning this option <tt>false</tt>
allows to stop quicker by rejecting redelivery attempts.</li>
	<li>Added support for specifying user info in Camel <a href="/confluence/display/CAMEL/Endpoint"
title="Endpoint">Endpoint</a> urls, which contains the @ sign; now the @ sign can
be given as is; without being encoded to %40.</li>
	<li>Added robust connection support for <a href="/confluence/display/CAMEL/JMX"
title="JMX">JMX</a>. Optional <tt>testConnectionOnStartup</tt> allows
a JMX consumer to attach to a JMX server that becomes available <em>after</em>
the JMX endpoint starts; <tt>reconnectOnConnectionFailure</tt> enables re-connection
of failed JMX connections.</li>
	<li><a href="/confluence/display/CAMEL/JAXB" title="JAXB">JAXB</a> and
<a href="/confluence/display/CAMEL/SOAP" title="SOAP">SOAP</a> data format now
supports controlling namespace prefix mappings when marshalling (eg to avoid prefixes such
as ns2, ns3, ns4 etc.)</li>

<h3><a name="Camel2.11.0Release-Fixedissues"></a>Fixed issues</h3>

	<li>Fixed <a href="/confluence/display/CAMEL/RoutePolicy" title="RoutePolicy">RoutePolicy</a>
used from Spring XML with <tt>routePolicyRef</tt> may not invoke all callbacks
on the policy.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/MINA" title="MINA">MINA</a>
consumer to force disconnect upon timeout when doing request/reply, as late replies may cause
side effects otherwise.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a>
language with empty quoted literals in predicates, so you can compare against empty strings.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/SOAP" title="SOAP">SOAP</a>
data format to set SOAP 1.1 namespace when marhsalling faults.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/SEDA" title="SEDA">SEDA</a>
producer to send to the right BlockingQueue being attached on the <a href="/confluence/display/CAMEL/SEDA"
title="SEDA">SEDA</a> endpoint so that the sent messages don't get lost.</li>
	<li>Fixed using <tt>sendEmptyMessageWhenIdle=true</tt> on a batch consumer
such as <a href="/confluence/display/CAMEL/File2" title="File2">File</a> now working
with <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregate</a>
EIP when using <tt>completionFromBatchConsumer</tt></li>
	<li>Fixed <tt>MockEndpoint.expectedBodiesReceivedInAnyOrder</tt> to allow
asserting on multiple arrival of the same/equal bodies.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/MyBatis" title="MyBatis">MyBatis</a>
to demarcate the running transactions properly while reading/writing from/to database.</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Jetty" title="Jetty">Jetty</a>,
<a href="/confluence/display/CAMEL/HTTP" title="HTTP">HTTP</a>, <a href="/confluence/display/CAMEL/HTTP4"
title="HTTP4">HTTP4</a>, and <a href="/confluence/display/CAMEL/AHC" title="AHC">AHC</a>
http components not working in bridge mode if content path have spaces</li>
	<li>Fixed the <a href="/confluence/display/CAMEL/CXF" title="CXF">CXF</a>
fallback convertor issue which camel will unregister it when the converter return null.</li>
	<li>Fixed the issue that <a href="/confluence/display/CAMEL/File2" title="File2">File2</a>
endpoints on windows without volume name in the path url.</li>
	<li>Fixed the issue of unmarshaling pgp messages encrypted with ElGamal.</li>
	<li>Fixed random <a href="/confluence/display/CAMEL/Load+Balancer" title="Load Balancer">Load
Balancer</a> to be even spread (before was a little less likely to pick the 1st)</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Timer" title="Timer">Timer</a>
to not fire during starting <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a></li>
	<li>Fixed <a href="/confluence/display/CAMEL/XMLSecurity+DataFormat" title="XMLSecurity
DataFormat">XMLSecurity DataFormat</a> to enable retrieval of password-protected
private keys for asymmetric decryption</li>
	<li>Fixed <a href="/confluence/display/CAMEL/Exception+Clause" title="Exception
Clause">Exception Clause</a> using <tt>maximumRedeliveries(-1)</tt> may
be wrongly inherited by another <tt>onException</tt> during a redelivery process.</li>

<h3><a name="Camel2.11.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.11.0Release-NewCamelKarafCommand"></a>New Camel Karaf

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

	<li><tt><a href="/confluence/display/CAMEL/CMIS" title="CMIS">camel-cmis</a></tt>
- for integration of CMIS compliant content repositories</li>
	<li><tt><a href="/confluence/display/CAMEL/CouchDB" title="CouchDB">camel-couchdb</a></tt>
- for integration with <a href="" class="external-link" rel="nofollow">Apache
	<li><tt><a href="/confluence/display/CAMEL/ElasticSearch" title="ElasticSearch">camel-elasticsearch</a></tt>
- for <a href="" class="external-link" rel="nofollow">ElasticSearch</a>
	<li><tt><a href="/confluence/display/CAMEL/SJMS" title="SJMS">camel-sjms</a></tt>
- for "Springless" JMS integration</li>
	<li><tt><a href="/confluence/display/CAMEL/Neo4j" title="Neo4j">camel-neo4j</a></tt>
- for talking to neo4j server from Camel.</li>

<h3><a name="Camel2.11.0Release-DSLChanges"></a>DSL Changes</h3>

	<li>Added LoggingErrorHandler fluent builder to Scala DSL.</li>

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

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

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

	<li><a href="/confluence/display/CAMEL/VTD-XML" title="VTD-XML">VTD&#45;XML</a>
- for fast and efficient XPath evaluation/splitting using the VTD-XML Library. <tt>camel-vtdxml</tt>
hosted at <a href="" class="external-link" rel="nofollow">Camel

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

	<li><a href="/confluence/display/CAMEL/ActiveMQ+Camel+Tomcat" title="ActiveMQ Camel
Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ and
Camel in a web application running on Apache Tomcat.</li>

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

<h2><a name="Camel2.11.0Release-APIchanges%2Fbreaking"></a>API changes/breaking</h2>

	<li><a href="/confluence/display/CAMEL/HL7" title="HL7">HL7</a> upgraded
to now use Apache Mina 2.x.</li>
	<li>Renamed <tt>org.apache.camel.component.hbase.HBaseContats</tt> to <tt>org.apache.camel.component.hbase.HBaseConstants</tt></li>
	<li>Added getter/setter methods for loadStatisticsEnabled on <tt>org.apache.camel.spi.ManagementStrategy</tt></li>
	<li>Added <tt>shutdownGraceful</tt>, and <tt>awaitTermination</tt>
methods to <tt>ExecutorServiceManager</tt> to make it easier to shutdown a thread
pool gracefully waiting for its tasks to complete.</li>

<h2><a name="Camel2.11.0Release-Internal%2FNonAPIrefactoringsthatmayaffectusers"></a>Internal/Non
API refactorings that may affect users</h2>

	<li>The <a href="/confluence/display/CAMEL/Testing" title="Testing">Camel Test
Kit</a> provides a default <a href="/confluence/display/CAMEL/Properties" title="Properties">Properties</a>
component out of the box; which mean using <tt>addComponent("properties", ...)</tt>
is no longer needed; instead get the component using <tt>getComponent("properties")</tt>
and configure the component instead.</li>

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

	<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>The project cannot fully build the site using Maven (e.g. running <tt>"mvn
site"</tt>). There is no plan to fix this, as the project does not use maven site.</li>
	<li>JBoss 7 may log a WARNing when running Camel as a WAR file.</li>

<h2><a name="Camel2.11.0Release-DependencyUpgrades"></a>Dependency Upgrades</h2>

	<li>Async Http Client 1.7.5 to 1.7.6</li>
	<li>Axiom 1.2.10 to 1.2.12</li>
	<li>AWS 1.3.10 to 1.3.14</li>
	<li>BeanIO 2.0.0 to 2.0.1</li>
	<li>Commons Exec 1.0.1 to 1.1</li>
	<li>ConcurrentLinkedHashMap 1.2 to 1.3.1</li>
	<li>Ehcache bundle 2.5.1 to 2.6.0</li>
	<li>Groovy 1.8.6 to 2.0.2</li>
	<li>GSon 2.1 to 2.2.2</li>
	<li>Hazelcast 2.0.2 to 2.3</li>
	<li>HTTP Client 4.1.3 to 4.2.1</li>
	<li>Icu4j 4.0.1 to</li>
	<li>Jackson 1.9.7 to 1.9.9</li>
	<li>Jaxen 1.1.3 to 1.1.4</li>
	<li>Jettison 1.3.1 to 1.3.2</li>
	<li>Jetty 7.5.4 to 7.6.7</li>
	<li>JRuby 1.6.7 to</li>
	<li>JT400 6.0 to 6.7</li>
	<li>Krati 0.4.5 to 0.4.6</li>
	<li>Lucene 3.6.0 to 3.6.1</li>
	<li>Netty 3.5.1 to 3.5.7</li>
	<li>Ognl bundle 3.0.4_1 to 3.0.5_1</li>
	<li>Pax Logging 1.5.3 to 1.6.10</li>
	<li>QPid 0.16 to 0.18</li>
	<li>Quartz 1.8.5 to 1.8.6</li>
	<li>Restlet 2.0.14 to 2.0.15</li>
	<li>Scala 2.9.1 to 2.9.2</li>
	<li>Saxon to</li>
	<li>Shiro 1.2.0 to 1.2.1</li>
	<li>Solr 3.6.0 to 3.6.1</li>
	<li>Spring Framework 3.1.1 to 3.1.2</li>
	<li>Spring Integration 2.1.2 to 2.1.3</li>
	<li>SSHD 0.6.0 to 0.7.0</li>
	<li>TestNG 6.0.1 to 6.7</li>
	<li>Woodstox 4.1.2 to 4.1.3</li>
	<li>XStream 1.4.2 to 1.4.3</li>

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

	<li><tt>camel-mina2</tt> now uses <tt>OrderedThreadPoolExecutor</tt>
by default. There is a new option <tt>orderedThreadPoolExecutor</tt> you can configure
it to <tt>false</tt> to revert back to unordered if needed. Mina that using SSL
etc. requires ordered.</li>
	<li>The default value of the <tt>delay</tt> option on <a href="/confluence/display/CAMEL/Timer"
title="Timer">Timer</a> has been changed from <tt>0</tt> to <tt>1000</tt></li>
	<li>The default value of the <tt>convertLFtoCR</tt> option of the <a
href="/confluence/display/CAMEL/HL7" title="HL7">HL7</a> MLLP codec has been changed
from <tt>true</tt> to <tt>false</tt>. Likewise, the <a href="/confluence/display/CAMEL/HL7"
title="HL7">HL7</a> DataFormat and TypeConverter do not perform this conversion anymore.</li>
	<li>The <a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a>
language has limited its support for the escape character to only new line, carrie return
and tab characters. This makes it easier to use back-slash characters in the <a href="/confluence/display/CAMEL/Simple"
title="Simple">Simple</a> language without double escaping etc.</li>

<h2><a name="Camel2.11.0Release-Notice"></a>Notice</h2>

	<li>Maven 3.0.2 or better is required to build the <a href="/confluence/display/CAMEL/Source"
	<li>If you want to deploy Apache Camel 2.11.0 into Apache Karaf, we highly recommend
to use the '' configuration, which is part of Apache Karaf 2.2.5 onwards.
For example <tt>camel-cxf</tt>, <tt>camel-mail</tt>, and <tt>camel-spring-ws</tt>
requires this to be installable; as well other features may as well.</li>

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

<h3><a name="Camel2.11.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.11.0.tar.gz</a> </td>
<td class='confluenceTd'> <a href=""
class="external-link" rel="nofollow">apache-camel-2.11.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></td></tr></table></div>

<h3><a name="Camel2.11.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 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>

        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
        <a href="">View
        <a href="">View
        <a href=";showCommentArea=true#addcomment">Add

View raw message