camel-commits mailing list archives

<html>
<head>
<base href="https://cwiki.apache.org/confluence">
<link rel="stylesheet" href="/confluence/s/2042/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.9.0+Release">Camel 2.9.0 Release</a></h2>
<h4>Page <b>edited</b> by <a href="https://cwiki.apache.org/confluence/display/~bibryam">Bilgin Ibryam</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" >* [StAX] <br>* [Zookeeper] <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;">* [AWS-SES] <br></td></tr>
<tr><td class="diff-unchanged" > <br>h3. DSL Changes <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<h1><a name="Camel2.9.0Release-Camel2.9.0release%28currentlyinprogress%29"></a>Camel 2.9.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.9.0Release-NewandNoteworthy"></a>New and Noteworthy</h2>
<p>Welcome to the 2.9.0 release which approx XXX issues resolved (new features, improvements and bug fixes such as...)</p>
<ul>
<li>Introduced <tt>ThreadPoolFactory</tt> with a simpler API for 3rd party SPI. See <a href="/confluence/display/CAMEL/Threading+Model" title="Threading Model">Threading Model</a> for more details.</li>
<li>The <tt>ScheduledExecutorService</tt> created by Camel is guarded with a queue size check, to guard against OOME due the JDK thread pool is unbounded task queue.</li>
<li>The <a href="/confluence/display/CAMEL/SOAP" title="SOAP">SOAP</a> data format now supports using multiple parameters on the JAXB objects.</li>
<li>The <a href="/confluence/display/CAMEL/Bean" title="Bean">Bean</a> component now supports specifying parameter values to use directly in the method syntax. See more details at <a href="/confluence/display/CAMEL/Bean+Binding" title="Bean Binding">Bean Binding</a>. For example to invoke a bean with body as first parameter, and a boolean true as second you can now do: <tt>.to("bean:myBean?method=myMethod(body, true)")</tt></li>
<li>The <a href="/confluence/display/CAMEL/Bean" title="Bean">Bean</a> component supports binding to private class beans by fallback to use interface methods.</li>
<li>Improved labels of all model definitions which appear in <a href="/confluence/display/CAMEL/Tracer" title="Tracer">Tracer</a> output</li>
<li>Reduced dependency for <tt>camel-core</tt> to not require <tt>commons-management</tt> JAR anymore</li>
<li>Added blueprint support of cxfrs endpoint.</li>
<li>Camel no longer depend on using Spring JARs for having Camel enlisted in <a href="/confluence/display/CAMEL/Camel+JMX" title="Camel JMX">JMX</a>.</li>
<li>Introduced a set of Camel JMX annotations in <tt>org.apache.camel.api.management</tt> that can be used to easily instrument Camel <a href="/confluence/display/CAMEL/Components" title="Components">Components</a>, <a href="/confluence/display/CAMEL/EIP" title="EIP">EIP</a>s, custom <a href="/confluence/display/CAMEL/Processor" title="Processor">Processor</a>s, <a href="/confluence/display/CAMEL/Bean" title="Bean">Bean</a>s etc. for being managed in <a href="/confluence/display/CAMEL/Camel+JMX" title="Camel JMX">JMX</a>. Using the Spring JMX annotations is still supported (you would need <tt>camel-spring</tt> on the classpath).</li>
<li>Updated the <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregator2</a> to allow for manually completing all exchange groups by sending a message containing the header <tt>Exchange.AGGREGATION_COMPLETE_ALL_GROUPS</tt> set to true.</li>
<li>Updated the <a href="/confluence/display/CAMEL/Aggregator2" title="Aggregator2">Aggregator2</a> to support forceCompletionOnStop option to complete all current aggregated exchanges when the context is stopped.</li>
<li>Removed dependency on Spring JARs in the following components: <a href="/confluence/display/CAMEL/Validation" title="Validation">Validation</a>, <a href="/confluence/display/CAMEL/XSLT" title="XSLT">XSLT</a>, <a href="/confluence/display/CAMEL/Velocity" title="Velocity">Velocity</a>, <a href="/confluence/display/CAMEL/FreeMarker" title="FreeMarker">FreeMarker</a>, <a href="/confluence/display/CAMEL/Flatpack" title="Flatpack">Flatpack</a>, <a href="/confluence/display/CAMEL/StringTemplate" title="StringTemplate">StringTemplate</a>, <a href="/confluence/display/CAMEL/iBATIS" title="iBATIS">iBATIS</a>, <a href="/confluence/display/CAMEL/Jing" title="Jing">Jing</a>, <a href="/confluence/display/CAMEL/MSV" title="MSV">MSV</a>, <a href="/confluence/display/CAMEL/XQuery" title="XQuery">XQuery</a>, <a href="/confluence/display/CAMEL/Test" title="Test">Test</a>, <a href="/confluence/display/CAMEL/Groovy" title="Groovy">Groovy</a>, <a href="/confluence/display/CAMEL/Scripting+Languages" title="Scripting Languages">Scripting Languages</a>, <a href="/confluence/display/CAMEL/Mail" title="Mail">Mail</a> and <a href="/confluence/display/CAMEL/Quickfix" title="Quickfix">Quickfix</a>.</li>
<li>Using <a href="/confluence/display/CAMEL/Content+Enricher" title="Content Enricher">pollEnrich</a> with a file/ftp endpoint will now only poll on demand, beforehand the polling could be started when the route started.</li>
<li>Added option <tt>ReplyToType</tt> on <a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> to allow people to control which kind of reply queue they are using (temporary, shared, exclusive). Added support for exclusive reply queues. Mind they have some limitations, by which the shared dont have. So use exclusive with a bit caution.</li>
<li>Added <tt>wereSentTo</tt> to <a href="/confluence/display/CAMEL/NotifyBuilder" title="NotifyBuilder">NotifyBuilder</a> allowing to set expectation that <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a>s was sent to the given endpoint uri.</li>
<li><a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a> in CSV format now uses trim, clip, and length attributes on @DataField when marshalling.</li>
<li>Improved managed browsable endpoints (JMX) so you can browse all/range messages and whether to include message body or not.</li>
<li><a href="/confluence/display/CAMEL/File2" title="File2">File</a> and <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> endpoints is now browsable endpoints. For example using JMX people can browse the endpoint listing available files. The returned data does <b>not</b> contain the actual file body to avoid loading big data into memory.</li>
<li>Added <tt>replaceFromWith</tt> to <a href="/confluence/display/CAMEL/AdviceWith" title="AdviceWith">AdviceWith</a> making it easy to swap a route input endpoint with something else, for easier unit testing.</li>
<li>Added Java DSL support for route autoStartup(String) and autoStartup(boolean)</li>
<li>Switched to a better performing non locking endpoint cache based on Google's ConcurrentLinkedHashMap.</li>
<li>Added <tt>isUseAdviceWith</tt> to <a href="/confluence/display/CAMEL/Camel+Test" title="Camel Test">Camel Test</a> which allows end users to tell Camel that the unit tests uses <a href="/confluence/display/CAMEL/AdviceWith" title="AdviceWith">AdviceWith</a> which allows you to defer starting <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a> until after the adviceWith has been executed.</li>
<li>Added <tt>filtersRef</tt> option to <a href="/confluence/display/CAMEL/Jetty" title="Jetty">Jetty</a> endpoint, and it supports to setup the Filters on the Jetty endpoints.</li>
<li>Added <tt>ciphers</tt> option to the <a href="/confluence/display/CAMEL/FTP2" title="FTP2">SFTP</a> endpoint to allow configuration of the ciphers used by default.</li>
<li>Added <tt>fastExitsCheck</tt> option to the <a href="/confluence/display/CAMEL/FTP2" title="FTP2">SFTP FTP</a> endpoint to check the file exits fast.</li>
<li>Added <tt>errorHandler</tt> option to the <a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> component which allows you to set a <tt>org.springframework.util.ErrorHandler</tt> to be invoked in case of any uncaught exceptions thrown while processing a <tt>Message</tt>.</li>
<li>Added <tt>idleConsumerLimit</tt> option to the <a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> component which sets the limit for the number of consumers that are allowed to be idle at any given time.</li>
<li><a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a> language has a much better syntax parser, being able to report what and where syntax errors are. Added unary operators, which for example can be used to increment counters.</li>
<li><a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a> language now supports nested functions, so you can do "${header.${header.bar}}", for example to refer to a header key from another header.</li>
<li><a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a> language can now configure custom start/end tokens for its built-in functions.</li>
<li>The <a href="/confluence/display/CAMEL/JPA" title="JPA">JPA</a> component has been upgraded from using the JPA1 spec to use JPA2 spec.</li>
<li>The <a href="/confluence/display/CAMEL/CSV" title="CSV">CSV</a> component now always returns a List&lt;List&gt; regardless if 1 or more rows returned, to be consistent.</li>
<li><a href="/confluence/display/CAMEL/Resequencer" title="Resequencer">Resequencer</a> now pre validates incoming <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a> and throws <tt>CamelExchangeException</tt> if invalid. Added new option <tt>ignoreInvalidExchanges</tt> to suppress the exception and ignore invalid exchanges.</li>
<li>Improved existing and added more <a href="/confluence/display/CAMEL/Karaf" title="Karaf">Karaf</a> Camel commands.</li>
<li>Improved <a href="/confluence/display/CAMEL/Bean" title="Bean">Bean</a> component and method call expressions to be able to invoke static methods, without creating a new instance of the class.</li>
<li><a href="/confluence/display/CAMEL/Camel+JMX" title="Camel JMX">JMX</a> now exposes average load statics on CamelContext and Route mbeans. Its similar to unix load stats per 1, 5 and 15 minutes.</li>
<li>Added support for <tt>minDepth</tt> and <tt>maxDepth</tt> option on the <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> consumers.</li>
<li>Improved the <a href="/confluence/display/CAMEL/AWS-S3" title="AWS-S3">AWS&#45;S3</a> component to support more headers in the producer.</li>
<li><a href="/confluence/display/CAMEL/Cometd" title="Cometd">Cometd</a> now includes headers in the server message.</li>
<li><a href="/confluence/display/CAMEL/FTP2" title="FTP2">SFTP</a> now supports interactive keyboard authentication, but entering the password in the prompt.</li>
<li>ManagedTracer now supports detailed JMX TraceEvent Notifications. This allows to watch message flows using JConsole and provides an ideal base for external tooling</li>
<li>Exchange.HTTP_URI query part will take effect on the producer of <a href="/confluence/display/CAMEL/HTTP" title="HTTP">HTTP</a> and <a href="/confluence/display/CAMEL/HTTP4" title="HTTP4">HTTP4</a>.</li>
<li>Add <tt>camelContextId</tt> to <a href="/confluence/display/CAMEL/MDC+logging" title="MDC logging">MDC logging</a>.</li>
<li>Hadoop consumer supports auto merging multiple segment files.</li>
<li><a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> consumer has new option <tt>asyncConsumer</tt> which allows to enable <a href="/confluence/display/CAMEL/Asynchronous+Routing+Engine" title="Asynchronous Routing Engine">Asynchronous Routing Engine</a></li>
<li>The <a href="/confluence/display/CAMEL/Camel+Maven+Archetypes" title="Camel Maven Archetypes">camel-archetype-component</a> allows to specify the component name.</li>
<li><a href="/confluence/display/CAMEL/Polling+Consumer" title="Polling Consumer">Polling Consumer</a>s such as <a href="/confluence/display/CAMEL/File2" title="File2">File</a> or <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> supports new option <tt>sendEmptyMessageWhenIdle</tt> to send an empty message if there was no messages to poll.</li>
<li>Added option <tt>allowStAX</tt> on <a href="/confluence/display/CAMEL/XSLT" title="XSLT">XSLT</a> and <a href="/confluence/display/CAMEL/XQuery" title="XQuery">XQuery</a> to control whether StAX (Streaming API for XML) is preferred as the <tt>javax.xml.transform.Source</tt>.</li>
<li>Added <tt>properties</tt> function to <a href="/confluence/display/CAMEL/Scripting+Languages" title="Scripting Languages">Scripting Languages</a> to make it easier to leverage Camel <a href="/confluence/display/CAMEL/Properties" title="Properties">Properties</a> component from scripts.</li>
<li>Added <tt>timeoutCheckerExecutorService</tt> and <tt>timeoutCheckerExecutorServiceRef</tt> options to the aggregator. If using either of the <tt>completionTimeout</tt>, <tt>completionTimeoutExpression</tt>, or <tt>completionInterval</tt> options a background thread is created to check for the completion for every aggregator. This doesn't scale well when you have many routes with an aggregator (a thread is created for every aggregator). Setting these options allow you to control the number of threads by providing a custom thread pool.</li>
<li><a href="/confluence/display/CAMEL/Splitter" title="Splitter">Splitting</a> big files such as XML files can now be done in a streamed low-memory footprint mode using the <a href="/confluence/display/CAMEL/Tokenizer" title="Tokenizer">Tokenizer</a> language or the <a href="/confluence/display/CAMEL/StAX" title="StAX">StAX</a> component.</li>
<li>The <a href="/confluence/display/CAMEL/Language" title="Language">Language</a> component can now load scripts from classpath or file system. As well having a cached option.</li>
<li>Further improved masking of passwords in URIs specified in the user info part, in the Camel logs.</li>
<li>Optimized <a href="/confluence/display/CAMEL/Request+Reply" title="Request Reply">Request Reply</a> over <a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> when using named replyTo queues to cache consumer if possible, making it go faster. This applies when using either the <tt>replytToType=Exclusive</tt> or <tt>replyToDestinationSelectorName</tt> options.</li>
<li>Fixed <a href="/confluence/display/CAMEL/JPA" title="JPA">JPA</a> consumer to ensure to rollback if processing an <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a> failed.</li>
<li>Added <tt>quote</tt> option to <tt>@CsvRecord</tt> in <a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a> to make it easy to specify using a quote character when marshalling from Object to CSV format.</li>
<li>Added <tt>consumer.transacted</tt> option to <a href="/confluence/display/CAMEL/JPA" title="JPA">JPA</a> to control whether the consumer should regard the batch as a single encompassing transaction or not.</li>
<li>Added ability in <a href="/confluence/display/CAMEL/XSLT" title="XSLT">XSLT</a> component to dynamically override stylesheet used via <tt>CamelXsltResourceUri</tt> message header.</li>
<li>Added ability in <a href="/confluence/display/CAMEL/AWS-SNS" title="AWS-SNS">AWS&#45;SNS</a> component to specify the topic policy.</li>
<li>Added ability in <a href="/confluence/display/CAMEL/AWS-S3" title="AWS-S3">AWS&#45;S3</a> component to specify the bucket policy and the storage class.</li>
<li><a href="/confluence/display/CAMEL/Log" title="Log">Log</a> component and <a href="/confluence/display/CAMEL/LogEIP" title="LogEIP">LogEIP</a> now supports the <a href="http://www.slf4j.org/api/org/slf4j/Marker.html" class="external-link" rel="nofollow">Marker</a> option</li>
<li><a href="/confluence/display/CAMEL/Log" title="Log">Log</a> and <a href="/confluence/display/CAMEL/Tracer" title="Tracer">Tracer</a> now have a default <tt>maxChars</tt> option at <tt>10000</tt> to avoid logging very big data.</li>
<li>Added ability in <a href="/confluence/display/CAMEL/SQL+Component" title="SQL Component">SQL</a> to execute SQL batch statements.</li>
<li>Added the configuration support of queueSize and concurrentConsumers options on the <a href="/confluence/display/CAMEL/SEDA" title="SEDA">SEDA</a> <a href="/confluence/display/CAMEL/VM" title="VM">VM</a> component.</li>
<li>Added MBean interfaces in <tt>org.apache.camel.api.management.mbean</tt> which clients can use to access Camel MBeans.* Added MBean interfaces in <tt>org.apache.camel.api.management.mbean</tt> which clients can use to access Camel MBeans.</li>
</ul>
<h3><a name="Camel2.9.0Release-Fixedissues"></a>Fixed issues</h3>
<ul>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Properties" title="Properties">Properties</a> component may cache duplicates and thus take up unnecessary memory in the cache</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Tracer" title="Tracer">Tracer</a> out exchanges when using <a href="/confluence/display/CAMEL/Asynchronous+Processing" title="Asynchronous Processing">Asynchronous Processing</a> by the <a href="/confluence/display/CAMEL/Asynchronous+Routing+Engine" title="Asynchronous Routing Engine">Asynchronous Routing Engine</a></li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Component" title="Component">Component</a>s or <a href="/confluence/display/CAMEL/Endpoint" title="Endpoint">Endpoint</a>s not being registered in <a href="/confluence/display/CAMEL/Camel+JMX" title="Camel JMX">JMX</a> when using <a href="/confluence/display/CAMEL/POJO+Producing" title="POJO Producing">POJO Producing</a>, <a href="/confluence/display/CAMEL/POJO+Consuming" title="POJO Consuming">POJO Consuming</a> or other Camel bean annotations.</li>
<li>Fixed issue which could cause <tt>DefaultUnitOfWork</tt> to throw a <tt>java.util.EmptyStackException</tt> under heavy load</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/MDC+logging" title="MDC logging">MDC logging</a> not remembering old values, for example when using a <tt>ProducerTemplate</tt> from within routes to send new messages.</li>
<li>Fixed issue when invoking a <a href="/confluence/display/CAMEL/Bean" title="Bean">Bean</a> and that bean is using a <tt>@Bean</tt> in its method signature, causing the <tt>@Bean</tt> to not invoke its intended method</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a> unmarshalling in key value or CSV or mode, may cause inconsistency for multiple threaded unmarshalling</li>
<li>Fixed issue with <tt>ExchangeSentEvent</tt> being fired to early when being sent to <a href="/confluence/display/CAMEL/Asynchronous+Routing+Engine" title="Asynchronous Routing Engine">asynchronously</a> endpoint. Now its being fired when sent is done.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Using+OSGi+blueprint+with+Camel" title="Using OSGi blueprint with Camel">OSGi Blueprint</a> when consuming <a href="/confluence/display/CAMEL/JAXB" title="JAXB">JAXB</a> annotated objects from <a href="/confluence/display/CAMEL/ActiveMQ" title="ActiveMQ">ActiveMQ</a> causing ClassCastException's.</li>
<li>Fixed issue with using <tt>OnException</tt> and using <tt>redeliveryPolicyRef</tt> which could cause the <a href="/confluence/display/CAMEL/Error+Handler" title="Error Handler">Error Handler</a> to fail with an assertion error at first redelivery attempt.</li>
<li>Fixed issue with using <tt>doneFile</tt> option on <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> when from a Windows computer connecting to a Unix FTP server, due to wrong path separator in use.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a> in CSV mode when marshalling not using correct separator char if given an escaped separator char on the model class.</li>
<li>Fixed issue with evaluation of <a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a> language not being as fast as it could be.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/File2" title="File2">File</a> consumer not auto creating start dir if having dot in name.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Splitter" title="Splitter">Splitter</a>, <a href="/confluence/display/CAMEL/Recipient+List" title="Recipient List">Recipient List</a> and <a href="/confluence/display/CAMEL/Routing+Slip" title="Routing Slip">Routing Slip</a> throwing exceptions from custom expressions, not being triggered by <a href="/confluence/display/CAMEL/Exception+Clause" title="Exception Clause">Exception Clause</a>s.</li>
<li>Fixed issue with stale OUT message set on <a href="/confluence/display/CAMEL/Exchange" title="Exchange">Exchange</a> if exception was thrown from <tt>unmarshal</tt> or <tt>marshal</tt> operations from <a href="/confluence/display/CAMEL/Data+Format" title="Data Format">Data Format</a></li>
<li>Fixed issue with request/reply over <a href="/confluence/display/CAMEL/JMS" title="JMS">JMS</a> when using <tt>useMessageIDAsCorrelationID=true</tt> and fixed reply queues, causing JMSMessage selector to not evict timed out correlationIDs, which cause the JMSMessage selector to keep growing.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/XSLT" title="XSLT">XSLT</a>, <a href="/confluence/display/CAMEL/XQuery" title="XQuery">XQuery</a> and <a href="/confluence/display/CAMEL/XPath" title="XPath">XPath</a> may lock file resource if exception occurred during transformation</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Flatpack" title="Flatpack">Flatpack</a> dropping all headers from the original message</li>
<li>Fixed issue with <tt>wereSentTo</tt> on <a href="/confluence/display/CAMEL/NotifyBuilder" title="NotifyBuilder">NotifyBuilder</a> may trigger to soon, as well you no longer must configured it at first</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/SMPP" title="SMPP">SMPP</a> by sending multipart and multilingual messages</li>
<li>Fixed issue with using <a href="/confluence/display/CAMEL/XQuery" title="XQuery">Saxon</a> for <a href="/confluence/display/CAMEL/XPath" title="XPath">XPath</a> expressions with a <a href="/confluence/display/CAMEL/Splitter" title="Splitter">Splitter</a> and <a href="/confluence/display/CAMEL/Content+Based+Router" title="Content Based Router">Content Based Router</a> in the same route.</li>
<li>Fixed issue with thread safety of the <tt>XPathFactory</tt> in the <a href="/confluence/display/CAMEL/XPath" title="XPath">XPath</a> builder</li>
<li>Fixed issue when stopping <a href="/confluence/display/CAMEL/Batch+Consumer" title="Batch Consumer">Batch Consumer</a> routes and have configured route with <tt>CompleteAllTask</tt>, there may be a slim chance the route will be shutdown too early before the last batch message had a chance to be enlisted as in flight exchange.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/FTP2" title="FTP2">FTP</a> consumers to always process synchronous, to ensure the UnitOfWork executes the done tasks in the same thread as the consumer, as the FTP libraries is not thread safe.</li>
<li>Fixed memory leak when doing request/reply over JMS with a fixed reply queue, when under high load.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Bindy" title="Bindy">Bindy</a> in CSV mode not handling separator char to be inside a quoted field. For example a comma, in "Wednesday, November 9th, 2011"</li>
<li>Fixed issue when restarting <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a> would lose any prior custom <tt>LifecycleStrategy</tt> in use.</li>
<li>Fixed issue with using the same <a href="/confluence/display/CAMEL/ScheduledRoutePolicy" title="ScheduledRoutePolicy">ScheduledRoutePolicy</a> on 2+ routes not working on all the of the routes.</li>
<li>Fixed issue that <a href="/confluence/display/CAMEL/SEDA" title="SEDA">SEDA</a> <a href="/confluence/display/CAMEL/VM" title="VM">VM</a> consumer doesn't reset the camel context of exchange when it pulls the exchange from queue.</li>
<li>Fixed issue when using context scoped <a href="/confluence/display/CAMEL/Exception+Clause" title="Exception Clause">Exception Clause</a> to handle exceptions, by which the <tt>RouteScope</tt> on the <tt>UnitOfWork</tt> from the <tt>Exchange</tt> may not refer to last used route id.</li>
<li>Fixed <a href="/confluence/display/CAMEL/Throttler" title="Throttler">Throttler</a> EIP in async delayed mode to not eat up memory when messages flow in faster, than the throttler can process the delayed tasks. The throttler will now use the <tt>maxQueueSize</tt> option from the <a href="/confluence/display/CAMEL/Threading+Model" title="Threading Model">Threading Model</a> to reject tasks if the task queue grows to big.</li>
<li>Fixed issue with <a href="/confluence/display/CAMEL/Throttler" title="Throttler">Throttler</a> and <a href="/confluence/display/CAMEL/Delayer" title="Delayer">Delayer</a> EIP in async delayed mode, would cause a 2nd done on the <tt>AsyncCallback</tt> which could lead to a NPE in the logs.</li>
</ul>
<h3><a name="Camel2.9.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.9.0Release-NewComponents"></a>New <a href="/confluence/display/CAMEL/Components" title="Components">Components</a></h3>
<ul>
<li><a href="/confluence/display/CAMEL/jclouds" title="jclouds">jclouds</a></li>
<li><a href="/confluence/display/CAMEL/Krati" title="Krati">Krati</a></li>
<li><a href="/confluence/display/CAMEL/Solr" title="Solr">Solr</a></li>
<li><a href="/confluence/display/CAMEL/StAX" title="StAX">StAX</a></li>
<li><a href="/confluence/display/CAMEL/Zookeeper" title="Zookeeper">Zookeeper</a></li>
<li><a href="/confluence/display/CAMEL/AWS-SES" title="AWS-SES">AWS&#45;SES</a></li>
</ul>
<h3><a name="Camel2.9.0Release-DSLChanges"></a>DSL Changes</h3>
<h3><a name="Camel2.9.0Release-NewAnnotations"></a>New Annotations</h3>
<ul>
<li>Added some JMX annotations in org.apache.camel.spi.management that replace the spring jmx annotations to make camel-core independent of spring</li>
</ul>
<h3><a name="Camel2.9.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/Crypto" title="Crypto">PGP</a></li>
</ul>
<h3><a name="Camel2.9.0Release-NewLanguages"></a>New <a href="/confluence/display/CAMEL/Languages" title="Languages">Languages</a></h3>
<h3><a name="Camel2.9.0Release-NewExamples"></a>New <a href="/confluence/display/CAMEL/Examples" title="Examples">Examples</a></h3>
<h3><a name="Camel2.9.0Release-NewTutorials"></a>New <a href="/confluence/display/CAMEL/Tutorials" title="Tutorials">Tutorials</a></h3>
<h2><a name="Camel2.9.0Release-APIbreaking"></a>API breaking</h2>
<p>We did some fairly large refactoring in preparation for camel 3.0. In Camel 2.9.0 most changes should be compatible. If you hit any problematic API changes please report in jira and we will try to add compatibility stubs in a 2.9.x release.<br/>
The main goal of this refactoring is to prepare for a self contained minimal API that can be used as a basis for component development.<br/>
We already did some changes in regard to this in 2.9.0 to make backporting 3.0 features easier once we start with camel 3.0.</p>
<ul>
<li>The class <tt>ExecutorServiceStrategy</tt> is deprecated in favor of a new <tt>ExecutorServiceManager</tt> class, which have a slightly reduced and improved API. See <a href="/confluence/display/CAMEL/Threading+Model" title="Threading Model">Threading Model</a> for more details.</li>
<li>The <tt>org.apache.camel.component.ResourceBasedComponent</tt> class from <tt>camel-spring</tt> has been deprecated. Use <tt>DefaultComponent</tt> instead.</li>
<li>The <tt>org.apache.camel.component.ResourceBasedEndpoint</tt> class from <tt>camel-spring</tt> has been deprecated in favor of a new <tt>org.apache.camel.component.ResourceEndpoint</tt> in <tt>camel-core</tt>, and its dependency on Spring JARs has been removed. Use the new APIs on <tt>ResourceEndpoint</tt> to load resources.</li>
<li>Changed the method <tt>beforePoll</tt> slightly in the <tt>org.apache.camel.PollingConsumerPollingStrategy</tt> class.</li>
<li><tt>ServiceSupport</tt> and <tt>EventNotifierSupport</tt> classes are moved to org.apache.camel.support. This package is meant for mostly abstract base classes that make it easier to implement the API. To keep compatibility the old classes are kept as @Deprecated versions (see <a href="https://issues.apache.org/jira/browse/CAMEL-4358" class="external-link" rel="nofollow">CAMEL-4358</a>)</li>
<li><tt>ServiceSupport</tt> now does no handle child services anymore (was used only in two places in <tt>camel-core</tt>). A new class <tt>ChildServiceSupport</tt> now handles this case. Additionally the <tt>org.apache.camel.StatefulService</tt> interface was created which allows to access <tt>ServiceSupport</tt> methods without knowing the implementation.</li>
<li><tt>DataFormatResolver</tt> does not support <tt>resolveDataFormatDefinition</tt> anymore. The current implementations for OSGi and Default where exactly the same so this code was moved to <tt>DefaultCamelContext</tt>. If this is needed please open a jira issue</li>
<li>All methods in CamelContext that reference model elements where deprecated. An additional interface <tt>org.apache.camel.model.ModelCamelContext</tt> was created to hold these methods</li>
<li><tt>Ordered</tt> interface was moved from <tt>org.apache.camel.util</tt> to <tt>org.apache.camel</tt></li>
<li><tt>BytesSource</tt> and <tt>StringSource</tt> were moved from <tt>org.apache.camel.converter.jaxp</tt> to <tt>org.apache.camel</tt> as they are used in several places</li>
<li><tt>TimeoutMap</tt> interface was moved from <tt>org.apache.camel.util</tt> to <tt>org.apache.camel</tt></li>
<li><tt>DefaultTimeoutMap</tt> was moved from <tt>org.apache.camel.util</tt> to <tt>org.apache.camel.support</tt> as it needs access to <tt>ServiceSupport</tt></li>
<li>Moved some management interfaces from <tt>org.apache.camel.management</tt> to <tt>org.apache.camel.spi.management</tt></li>
<li>Moved <tt>DefaultChannel</tt> from <tt>org.apache.camel.processor</tt> to <tt>org.apache.camel.processor.interceptor</tt></li>
<li><tt>FileUtil.removeFile</tt> added new option, and will throw <tt>IOException</tt> in case of exception occurred</li>
<li>The <tt>CamelTestSupport</tt>'s context, template, consumer fields is no longer static (reason for changing is to foster faster unit testing)</li>
<li>Added <tt>onRemove</tt>, <tt>onStart</tt>, <tt>onStop</tt>, <tt>onSuspend</tt>, and <tt>onResume</tt> methods to <tt>org.apache.camel.spi.RoutePolicy</tt></li>
<li>Removed Spring related methods from <tt>ScriptBuilder</tt> in <tt>camel-script</tt></li>
<li>Added <tt>RouteContext</tt> as parameter to <tt>configure</tt> method on <tt>ErrorHandlerBuilder</tt></li>
<li>The <a href="/confluence/display/CAMEL/Mail" title="Mail">Mail</a> component no longer uses Spring API, which means any custom <tt>JavaMailSender</tt> should now implement <tt>org.apache.camel.component.mail.JavaMailSender</tt> instead.</li>
<li>The <a href="/confluence/display/CAMEL/Quickfix" title="Quickfix">Quickfix</a> component no longer uses Spring API, which mean if you use XML DSL to setup QuickFix settings, then you need to adjust accordingly. See details <a href="/confluence/display/CAMEL/Quickfix" title="Quickfix">Quickfix</a>.</li>
</ul>
<h2><a name="Camel2.9.0Release-Internal%2FNonAPIrefactoringsthatmayaffectusers"></a>Internal/Non API refactorings that may affect users</h2>
<ul>
<li><tt>org.apache.camel.WrappedFile</tt> interface was introduced as abstraction of <tt>GenericFile</tt> for usage outside the file component</li>
<li><tt>ModelHelper</tt> was moved from <tt>org.apache.camel.util</tt> to <tt>org.apache.camel.model</tt> to avoid references from util to model</li>
<li>The <a href="/confluence/display/CAMEL/Karaf" title="Karaf">Karaf</a> commands have been renamed</li>
</ul>
<h2><a name="Camel2.9.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>The project cannot fully build the site using Maven (eg running <tt>"mvn site"</tt>. There is no plan to make this work as the project do not use the maven site.</li>
<li>The source code cannot fully build with JDK 7</li>
</ul>
<h2><a name="Camel2.9.0Release-DependencyUpgrades"></a>Dependency Upgrades</h2>
<ul>
<li>AHC 1.6.4 to 1.6.5</li>
<li>AWS-Java-SDK 1.1.1 to 1.2.12</li>
<li>CometD Java Server 2.1.1 to 2.3.1</li>
<li>Commons-pool 1.5.4 to 1.5.6</li>
<li>CXF 2.4.1 to 2.5.0</li>
<li>Dozer 5.3.1 to 5.3.2</li>
<li>EasyMock 2.5.2 to 3.0</li>
<li>EHCache 2.3.0 to 2.4.3</li>
<li>Groovy 1.8.0 to 1.8.4</li>
<li>HAPI 0.5.1 to 1.2</li>
<li>HawtDB 1.5 to 1.6</li>
<li>Hazelcast 1.9.3 to 1.9.4.4</li>
<li>Http4 4.1.1 to 4.1.2</li>
<li>Jackson 1.8.4 to 1.9.2</li>
<li>Jackrabbit 1.5.5 to 2.2.4</li>
<li>JCR API 1.0 to 2.0</li>
<li>Jersey 1.8 to 1.10</li>
<li>JIBX 1.2.2 to 1.2.3</li>
<li>JRuby 1.5.6 to 1.6.5</li>
<li>MyBatis 3.0.4 to 3.0.6</li>
<li>Netty 3.2.4 to 3.2.6</li>
<li>OGNL 2.7.3 to 3.0.2</li>
<li>QPID 0.5 to 0.12</li>
<li>QuickFix 1.5.0 to 1.5.1</li>
<li>Restlet 2.0.9 to 2.0.10</li>
<li>Scala 2.9.0 to 2.9.1</li>
<li>Scalate 1.5.0 to 1.5.3</li>
<li>Smack 3.1.0 to 3.2.0</li>
<li>Spring Framework 3.0.5 to 3.0.6</li>
<li>Spring Security 3.0.6 to 3.0.7</li>
<li>Spring WebService 2.0.2 to 2.0.3</li>
<li>XStream 1.3.1 to 1.4.1</li>
</ul>
<h2><a name="Camel2.9.0Release-Importantchangestoconsiderwhenupgrading"></a>Important changes to consider when upgrading</h2>
<ul>
<li>The <a href="/confluence/display/CAMEL/XSLT" title="XSLT">XSLT</a>, and <a href="/confluence/display/CAMEL/Validation" title="Validation">Validation</a> components has been moved from <tt>camel-spring</tt> to <tt>camel-core</tt> as they no longer depend upon Spring JARs</li>
<li>Building the source with Apache Maven 2.x is <b>deprecated</b> and support for that is to be removed in the next release.</li>
<li><a href="/confluence/display/CAMEL/Debugger" title="Debugger">Debugger</a> is now disabled by default in <a href="/confluence/display/CAMEL/Camel+Test" title="Camel Test">Camel Test</a>. You would need to override <tt>isUseDebugger()</tt> method and return <tt>true</tt> to enable it.</li>
<li><a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a> language improved syntax parser. <a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a> is now more strict and will report syntax errors for invalid input. For example <a href="/confluence/display/CAMEL/Predicate" title="Predicate">Predicate</a>s now requires literal texts to be enclosed in quotes, just as any programming language such as Java would do. Range operator also requires the range to be enclosed in quotes as well. See more details at <a href="/confluence/display/CAMEL/Simple" title="Simple">Simple</a>.</li>
<li>The <a href="/confluence/display/CAMEL/JPA" title="JPA">JPA</a> component has been upgraded from using the JPA1 spec to use JPA2 spec.</li>
<li>The <a href="/confluence/display/CAMEL/CSV" title="CSV">CSV</a> component now always returns a <tt>List&lt;List&gt;</tt> regardless if 1 or more rows returned, to be consistent.</li>
</ul>
<h2><a name="Camel2.9.0Release-Notice"></a>Notice</h2>
<ul>
<li>Removed ANT support for the <a href="/confluence/display/CAMEL/Examples" title="Examples">Examples</a></li>
<li>The <tt>commons-management</tt> JAR is no longer required as dependency.</li>
<li>Camel no longer depend on using Spring JARs for having Camel enlisted in <a href="/confluence/display/CAMEL/Camel+JMX" title="Camel JMX">JMX</a>.</li>
<li>Building the source with Apache Maven 2.x is <b>deprecated</b> and support for that is to be removed in the next release.</li>
</ul>
<h2><a name="Camel2.9.0Release-GettingtheDistributions"></a>Getting the Distributions</h2>
<h3><a name="Camel2.9.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.9.0/apache-camel-2.9.0.zip" class="external-link" rel="nofollow">apache-camel-2.9.0.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/camel/apache-camel/2.9.0/apache-camel-2.9.0.zip.asc" class="external-link" rel="nofollow">apache-camel-2.9.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.9.0/apache-camel-2.9.0.tar.gz" class="external-link" rel="nofollow">apache-camel-2.9.0.tar.gz</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/camel/apache-camel/2.9.0/apache-camel-2.9.0.tar.gz.asc" class="external-link" rel="nofollow">apache-camel-2.9.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.9.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 Distribution </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.9.0/apache-camel-2.9.0-src.zip" class="external-link" rel="nofollow">apache-camel-2.9.0-src.zip</a> </td>
<td class='confluenceTd'> <a href="http://www.apache.org/dist/camel/apache-camel/2.9.0/apache-camel-2.9.0-src.zip.asc" class="external-link" rel="nofollow">apache-camel-2.9.0-src.zip.asc</a> </td>
</tr>
</tbody></table>
</div>
<h3><a name="Camel2.9.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.9.0<span class="code-tag">&lt;/version&gt;</span>
<span class="code-tag">&lt;/dependency&gt;</span>
</pre>
</div></div>
<h3><a name="Camel2.9.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.9.0</span>
</pre>
</div></div>
<h2><a name="Camel2.9.0Release-Changelog"></a>Changelog</h2>
<p>For a more detailed view of new features and bug fixes, see the:<br/>
TODO: Update link</p>
<ul>
<li><a href="http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&amp;styleName=Html" class="external-link" rel="nofollow">release notes for 2.9.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.9.0+Release">View Online</a>
|
<a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27821724&revisedVersion=163&originalVersion=162">View Changes</a>
|
<a href="https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.9.0+Release?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>