...
Camel
...
1.
...
6.0 release
Div | |||||
---|---|---|---|---|---|
|
| }
!http://activemq.apache.org/camel/download.data/camel-box-v1.0-150x200.png!
{div}
{div:style=||||
Div | ||||
---|---|---|---|---|
| }
h2. ||||
New
...
and
...
Noteworthy
...
Welcome
...
to
...
the
...
1.
...
6.
...
0 release
...
which
...
approx
...
169 issues
...
resolved
...
(new
...
features,
...
improvements
...
and
...
bug
...
fixes
...
such
...
as...)
...
- RedeliveryPolicy
...
- added
...
- support
...
- for
...
- ref
...
- attribute
...
- to
...
- reference
...
- a
...
- existing
...
- policy
...
- in
...
- the Registry
- major improvements to Jetty for better handling of exception and faults and easier end-user customization how response should be written
- minor improvements to HTTP and MINA
- HTTP supports authentication
- MINA producer now throws CamelExchangeException in case no response received from remote server when in sync mode (sync=true)
- SFTP added support for knownhosts, privatekey files and passive mode
- Added
onWhen
predicate to Exception Clause - Exception Clause is much smarter as it will use caused by exception hierarchy for matching as well (will use bottom ups)
- Dead Letter Channel now have
onRedeliver
to allow custom processing an Exchange before its being redelivered. Allowing you to work on the message being sent. - Message Exchange Pattern can now be changed directly in the DSL.
New Enterprise Integration Patterns
- None
New Components
New DSL
- Scala (work in progress, not fully feature complete)
New Annotations
- None
New Data Formats
New Languages
- None
New Examples
- None
API breakings
- From Camel 1.6.0 the camel-cxf producer's serviceClass parameter should be Interface, before that you could specify the serviceClass as a Class or Interface.
- From Camel 1.6.0 the camel-jetty producer is removed and camel-jetty component doesn't dependent jetty-client module.
Known Issues
See known issues from previous releases.
Important changes to consider when upgrading
JAXB data format
If you use XJC to create the java class from the schema, you will get a ObjectFactory for you JAXB context. Since the ObjectFactory uses JAXBElement to hold the reference of the schema and element instance value, from Camel 1.6.0 jaxbDataformat will ignore the JAXBElement by default and you will get the element instance value instead of the JAXBElement object form the unmarshaled message body.
If you want to get the JAXBElement object form the unmarshaled message body, you need to set the JaxbDataFormat object's ignoreJAXBElement property to be false.
Getting the Distributions
Binary Distributions
Description | Download Link | PGP Signature file of download |
---|---|---|
Windows Distribution | ||
Unix/Linux/Cygwin Distribution |
Info | ||
---|---|---|
| ||
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:
Code Block | ||||
---|---|---|---|---|
| ||||
[Registry] * major improvements to [Jetty] for better handling of exception and faults and easier end-user customization how response should be written * minor improvements to [Http] and [Mina] * [Mina] producer now throws CamelExchangeException in case no response received from remote server when in sync mode (sync=true) * [SFTP|FTP] added support for knownhosts and privatekey files * Added {{onWhen}} predicate to [Exception Clause] * [Exception Clause] is much smarter as it will use caused by exception hierarchy for matching as well (will use bottom ups) * [Dead Letter Channel] now have {{onRedeliver}} to allow custom processing an [Exchange] *before* its being redelivered. Allowing you to work on the message being sent. h3. New [Enterprise Integration Patterns] * None h3. New [Components] * [Freemarker] * [Restlet] h3. New [DSL] * [Scala|Scala DSL] (work in progress, not fully feature complete) h3. New Annotations * None h3. New [Data Formats|Data Format] * [JSon|JSON] * [TidyMarkup] * [Zip|Zip] h3. New [Languages] * None h3. New [Examples] * None h2. API breakings * From Camel 1.5.1 the camel-cxf producer's serviceClass parameter should be Interface, before that you could specify the serviceClass as a Class or Interface. * From Camel 1.5.1 the camel-jetty producer is removed and camel-jetty component doesn't dependent jetty-client module. h2. Known Issues See known issues from previous releases. h2. Important changes to consider when upgrading h3. JAXB data format If you use XJC to create the java class from the schema, you will get a ObjectFactory for you JAXB context. Since the ObjectFactory uses JAXBElement to hold the reference of the schema and element instance value, from Camel 1.5.1 jaxbDataformat will ignore the JAXBElement by default and you will get the element instance value instead of the JAXBElement object form the unmarshaled message body. If you want to get the JAXBElement object form the unmarshaled message body, you need to set the JaxbDataFormat object's ignoreJAXBElement property to be false. h2. Getting the Distributions h3. Binary Distributions ||Description||Download Link||PGP Signature file of download |Windows Distribution| [apache-camel-1.5.1.zip|http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/1.5.1/apache-camel-1.5.1.zip]| [apache-camel-1.5.1.zip.asc|http://www.apache.org/dist/activemq/apache-camel/1.5.1/apache-camel-1.5.1.zip.asc]| |Unix/Linux/Cygwin Distribution| [apache-camel-1.5.1.tar.gz|http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/1.5.1/apache-camel-1.5.1.tar.gz]| [apache-camel-1.5.1.tar.gz.asc|http://www.apache.org/dist/activemq/apache-camel/1.5.1/apache-camel-1.5.1.tar.gz.asc]| {info:title=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|http://www.mozilla.com/en-US/firefox/] {info} h3. Source Distributions ||Description||Download Link||PGP Signature file of download |Source for Windows| [apache-camel-1.5.1-src.zip|http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/1.5.1/apache-camel-1.5.1-src.zip]| [apache-camel-1.5.1-src.zip.asc|http://www.apache.org/dist/activemq/apache-camel/1.5.1/apache-camel-1.5.1-src.zip.asc]| |Source for Unix/Linux/Cygwin| [apache-camel-1.5.1-src.tar.gz|http://www.apache.org/dyn/closer.cgi/activemq/apache-camel/1.5.1/apache-camel-1.5.1-src.tar.gz]| [apache-camel-1.5.1-src.tar.gz.asc|http://www.apache.org/dist/activemq/apache-camel/1.5.1/apache-camel-1.5.1-src.tar.gz.asc]| h3. 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|http://maven.apache.org/guides/introduction/introduction-to-the-pom.html] is: {code:xml} <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.56.1<0</version> </dependency> {code} h3. SVN Tag Checkout {code} |
SVN Tag Checkout
Code Block |
---|
svn co http://svn.apache.org/repos/asf/activemq/camel/tags/camel-1.56.1 {code} h2. Changelog For a more detailed view of new features and bug fixes, see the [release notes|http://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=11020&styleName=Html&version=11991] {jiraissues:url=http://issues.apache.org/activemq/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?&pid=11020&fixfor=11991&sorter/field=issuekey&sorter/order=DESC&tempMax=1000} 0 |
Changelog
For a more detailed view of new features and bug fixes, see: