You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Camel 2.22.0 Release (currently in progress)

 

New and Noteworthy

Welcome to the 2.22.0 release which approx XXX issues resolved (new features, improvements and bug fixes such as...)

This release supports only Spring Boot 2. Spring Boot v1 is no longer supported.

 

  • Camel has upgraded from Spring Boot v1 to v2 and therefore v1 is no longer supported. 
  • Upgraded to Spring Framework 5. Camel should work with Spring 4.3.x as well, but going forward Spring 5.x will be the minimum Spring version in future releases. 
  • Upgraded to Karaf 4.2. You may run Camel on Karaf 4.1 but we only officially support Karaf 4.2 in this release.
  • Optimised using toD DSL to reuse endpoints and producers for components where its possible. For example HTTP based components will now reuse producer (http clients) with dynamic uris sending to the same host. See more details in the toD documentation.
  • The File2 consumer with read-lock idempotent/idempotent-changed can now be configured to delay the release tasks to expand the window when a file is regarded as in-process, which is usable in active/active cluster settings with a shared idempotent repository to ensure other nodes dont too quickly see a processed file as a file they can process (only needed if you have readLockRemoveOnCommit=true).
  • Allow to plugin a custom request/reply correlation id manager implementation on Netty4 producer in request/reply mode.
  • The Twitter component now uses extended mode by default to support tweets > 140 characters
  • Rest DSL producer now supports being configured in rest configuration via endpointProperties.

And these important fixes:

  • Fixed a CXF continuation timeout issue with camel-cxf consumer could cause the consumer to return a response with data instead of triggering a timeout to the calling SOAP client.
  • Fixed camel-cxf consumer doesn't release UoW when using robust oneway operation
  • Fixed using AdviceWith and using weave methods on onException etc. not working. 
  • Fixed Splitter in parallel processing and streaming mode may block, while iterating message body when the iterator throws exception in first invoked next() method call.
  • Fixed Kafka consumer to not auto commit if autoCommitEnable=false.
  • Fixed file consumer was using markerFile as read-lock by default, which should have been none. 
  • Fixed using manual commit with Kafka to provide the current record offset and not the previous (and -1 for first)

New Enterprise Integration Patterns

New Components

  • camel-mybatis - Now has a mybatis-bean component that supports using MyBatis annotations on POJO beans to specify the SQL queries and mappings.
  • camel-web3j - The web3j component uses the Web3j client API and allows you to add/read nodes to/from a web3j compliant content repositories.

New DSL

New Annotations

New Data Formats

New Languages

API breaking

  • The RestProducerFactory has an API change where the RestConfiguration is provided as parameter as well.

Known Issues

Important changes to consider when upgrading

  • Camel has upgraded from Spring Boot v1 to v2 and therefore v1 is no longer supported. Migrating from SB1 to SB2 may require changes, see the Spring Boot v1 to v2 migration documentation for details.
  • Upgraded to Spring Framework v5 as default. Support for Spring Framework v4.3 is deprecated and not recommended to be used.
  • Upgraded to Karaf 4.2. You may run Camel on Karaf 4.1 but we only officially support Karaf 4.2 in this release. 
  • The camel-jms Maven pom.xml file now exclude spring-messaging dependency as this JAR is not used.
  • Unit testing Camel with Spring Boot and extending the base classes CamelTestSupport or CamelSpringTestSupport is now throwing an exception as this has never been intended/support. Instead use the CamelSpringBootRunner JUnit runner, and do not extend a base class.
  • The file consumer has changed to use readLock=none as default instead of readLock=markerFile. Documentation already indicated that readLock=none was the default.

 

Getting the Distributions

Binary Distributions

Description

Download Link

PGP Signature file of download

Windows Distribution

apache-camel-x.y.x.zip

apache-camel-x.y.x.zip.asc

Unix/Linux/Cygwin Distribution

apache-camel-x.y.x.tar.gz

apache-camel-x.y.x.tar.gz.asc

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 (zip)

apache-camel-x.y.x-src.zip

apache-camel-x.y.x-src.zip.asc

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>x.y.x</version>
</dependency>

Git Tag Checkout

git clone https://git-wip-us.apache.org/repos/asf/camel.git
cd camel
git checkout camel-x.y.x

Changelog

For a more detailed view of new features and bug fixes, see the:

  • No labels