Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc
Camel 1.5.0 release
New and Noteworthy
Welcome to the 1.5.0 release which approx 266 issues resolved (new features, improvements and bug fixes such as...)
New Data Formats
Important changes to consider when upgrading
The ProducerTemplate has refined its sendBody and requestBody methods to throw
The old behavior in Camel 1.4 or older was just plain wrong!
Option usePlatformMBeanServer has changed its default value from false to true.
An implementation of TypeConverter should now throw a NoTypeConversionAvailableException if conversion is not possible. The semantical ambiguity of null (both valid result and indication of no conversion) is now resolved, but this may impact existing code in that it should now catch the exception instead of checking for null.
setHeader element in Spring DSL changed
You can no longer use a 'value' attribute like this to set a header to a constant:
Now, you can use a Constant expression to do the same thing:
Notice that this constant expression is also possible in the Java DSL:
redeliveryPolicy specification in Spring DSL changed
You now set redelivery policy settings with attributes
Data format specification in Spring DSL changed
The way you specify data formats in the Spring DSL has changed. You could do this in Camel 1.4:
Now, you specify the same as:
The result of CXF producer has changed to use MessageContentsList instead of Object array to hold the response.
CXF Producer before Camel 1.5
CXF Produer in Camel 1.5
Now the CXF Producer(in Camel 1.5) will throw the exception after the CXF client gets the exception, in this way you can leverage the Camel errorHandler for handling the exception.
You can do it with DSL
Now the http producer will throw a
Http producer has better algorithm to compute if either GET or POST should be used.
In Camel 1.5 the sync option has changed its default value from false to true, as we felt it was confusing for end-users when they used Mina to call remote servers and Camel wouldn't wait for the response. To remedy this you had to add the sync=true option before it worked, we want this to work out-of-the-box without having to specify this option.
In Camel 1.5 the following default options has changed in camel-mail:
removeOutHeader DSL method removed
Since any exchange coming into the removeOutHeader processor would have an IN message only, this method was useless and so was removed.
PGP Signature file of download
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
PGP Signature file of download
Source for Windows
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:
SVN Tag Checkout
For a more detailed view of new features and bug fixes, see: