Camel 2.4.0 release (currently in progress)
New and Noteworthy
Welcome to the 2.4.0 release which approx XXX issues resolved (new features, improvements and bug fixes such as...)
- Camel-bindy now supports Fixed-Length format message with padding, alignment (Left or Right)
- Added option
useOriginalBody
to OnCompletion - Fixed issue when using mockito for testing when it uses CGLib proxies
- Fixed issue with
@Consume
not running in an unit of work to ensure callbacks is invoked when its done - Routing Slip takes the expression parameter as Recipient List does, and you can also
- The security context can be passed the camel-cxf to other camel components.
ManagementAgent
settings can now be set using setters from Java, instead of having to use JVM system properties. See tip in Camel JMX wiki page.- Fixed problem with using Quartz in OSGi and having Camel applications being hot-deployed which potentially could cause Quartz to stop scheduling in applications which haven't been stopped.
- Resequencer in batch mode has two new options
allowDuplicates
andreverse
which allows you to use it for re-ordering messages from JMS queues based onJMSPriority
- Tighten up the
ProducerTemplate
API a bit, see more details in the section Important changes to consider when upgrading. - Add ability to configure Bindy to remove whitespace when binding Integer positions
- Manually started routes is now also graceful shutdown by Camel
- Added new
<contextScan>
to scan the Registry forRouteBuilder
instances, just as scanning the classpath etc. - Improved and fixes some issues with the FTP component.
- Improved and fixed some issues using
MultiPartForm
with Jetty. - The camel-spring module now supports OSGi out of box, which renders camel-osgi as @deprecated.
- Fixed issue using RouteContextRef with multiple CamelContext from the same Spring ApplicationContext.
- Fixed a potential dead-lock when using Aggregator with timeout completion set.
- HTTP now better supports sending binary files.
New Enterprise Integration Patterns
New Components
- EJB to access EJB beans in a similar way as with the Bean component
- Class to invoke beans defined using the fully qualified class name
New DSL
New Annotations
@RoutingSlip
New Data Formats
New Languages
New Examples
New Tutorials
API breaking
Routing Slip now requires using Expression to specify the routing slip header, the XML DSL of Routing Slip is broken.
<route> <from uri="direct:a"/> <!--NOTE from Camel 2.4.0, you need to specify the expression element inside of the routingSlip element --> <routingSlip ignoreInvalidEndpoints="true"> <header>myHeader</header> </routingSlip> </route>
Known Issues
The Tracer may not output all details for some situations such as when using onCompletion
or intercept
etc.
Not all Examples have ANT build.xml files to run the example using ANT.
Important changes to consider when upgrading
IntrospectionSupport
has been improved to be consistent for getProperty
and getProperties
. Also getProperties
now find all relevant properties. This will often only be relevant for Camel end users who build their own components any may use IntrospectionSupport
.
The ProducerTemplate
have been tighten up a bit. All send/request -body
methods will now throw a CamelExecutionException
with the cause wrapped. This ensures its consistent. However the send/request
methods (which returns an Exchange
) will not throw an exception on failure. The caused exception is stored on the returned Exchange
which you can access using the getException
method.
The ftps
is now using secure data channel also when transferring files. There has been added some options which you can use to control the behavior and turn it off if you want the old behavior (only secure login).
The default port from ftps
has been changed from 2222 to 21.
Getting the Distributions
Binary Distributions
Description |
Download Link |
PGP Signature file of download |
---|---|---|
Windows Distribution |
||
Unix/Linux/Cygwin Distribution |
The above URLs use redirection
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 FireFox
Source Distributions
Description |
Download Link |
PGP Signature file of download |
---|---|---|
Source for Windows |
Source for Unix/Linux/Cygwin |
Getting the Binaries using Maven 2
To use this release in your maven project, the proper dependency configuration that you should use in your Maven POM is:
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>2.4.0</version> </dependency>
SVN Tag Checkout
svn co http://svn.apache.org/repos/asf/camel/tags/camel-2.4.0
Changelog
For a more detailed view of new features and bug fixes, see the:
TODO: Fix for 2.4.0