Apache Camel 2.20.0 Release

New and Noteworthy

Welcome to the 2.20.0 release which resolved over 550 issues including new features, improvements and bug fixes.

Fixed these issues

Important changes to consider when upgrading

Getting the Binaries

Getting the Binaries using Maven

To use this release in your Apache Maven pom.xml, import the Camel Bill of Materials (BOM) and then include the camel-core and any other components needed without specifying the version.

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-bom</artifactId>
      <version>2.20.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-core</artifactId>
  </dependency>
  <dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-COMPONENT</artifactId>
  </dependency>
</dependencies>

To use this release in a Spring Boot application, use the camel-spring-boot-dependencies Bill of Materials (BOM):

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.apache.camel.springboot</groupId>
      <artifactId>camel-spring-boot-dependencies</artifactId>
      <version>2.20.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-COMPONENT-starter</artifactId>
  </dependency>
</dependencies>

Binary Distributions

Binary distribution contains all the artifacts Apache Camel project distributes in binary form

Description Download Link PGP Signature file of download
Windows Distribution apache-camel-2.20.0.zip apache-camel-2.20.0.zip.asc
Unix/Linux/Cygwin Distribution apache-camel-2.20.0.tar.gz apache-camel-2.20.0.tar.gz.asc

Sources

Source distribution

Source distribution contains all the artifacts Apache Camel project distributes in source form

Description Download Link PGP Signature file of download
Source (zip) apache-camel-2.20.0-src.zip apache-camel-2.20.0-src.zip.asc

Git tag checkout

Release is tagged with camel-2.20.0 in the Git, to fetch it use:

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

Resolved issues

Here is a list of all the issues that have been resolved for this release

Bug (13)

CAMEL-11884
NPE when stopping Salesforce component that failed to start
CAMEL-11882
ServiceDefinition.metadata not passed to RibbonServiceLoadBalancer
CAMEL-11881
Queue/Exchange parameters need to be numeric when declaring in RabbitMQ
CAMEL-11871
Stomp component should not modify the destination name
CAMEL-11867
camel-bom needs <distributionManagement/>
CAMEL-11866
Simple Expression Language bean doesn't throw exception when bean not found
CAMEL-11848
Using MongoDB Tailable Cursor Consumer on non-capped collection results in NullPointerException (instead of proper error message)
CAMEL-11844
camel-azure - Should work with Camel file component OOTB
CAMEL-11843
Unable to configure some URI options on DockerEndpoint
CAMEL-11842
ClassNotFoundException when configuring camel-docker SSL options
CAMEL-11838
camel-websocket - Static resource returns empty body
CAMEL-11814
camel-spring-boot - Recent change in startup behaviour can cause camel-test-spring problems
CAMEL-11813
Wrong check in ConnectorCatalogNexusRepository

Improvement (13)

CAMEL-11880
Use full version of BoxGroup.createGroup in camel-box
CAMEL-11875
Add support for BoxGroup.updateInfo in camel-box
CAMEL-11873
Exclude validation-api from Salesforce component
CAMEL-11872
Handle MIME folded and MIME encoded email headers
CAMEL-11862
Convert to requested type values retrieved from the repository
CAMEL-11847
cluster-service : support multiple cluster services
CAMEL-11841
cluster service : make a simple FileLock based service
CAMEL-11837
cluster-service : camel-kubernetes spring boot support
CAMEL-11835
cluster service : make a JGroups based cluster service
CAMEL-11820
Upgrade optaplanner
CAMEL-11819
camel-velocity - Upgrade to 2.x
CAMEL-11816
cluster-service : camel-consul spring boot support
CAMEL-11815
cluster-service : camel-zookeeper spring boot support

New Feature (2)

CAMEL-12220
Add Trigger based download to RemoteFileComponent
CAMEL-11832
camel-aws - Add support for Lambda

Sub-task (9)

CAMEL-11859
Deprecate camel-spark-rest as it does not play well in OSGi
CAMEL-11831
[example] twitter-websocket, twitter-websocket-blueprint - http://localhost:9090/index.html returns empty page
CAMEL-11830
[example] sql - no application log on karaf
CAMEL-11829
[example] spring-boot-health-checks - 'application' keep emitting ERRORs
CAMEL-11828
[example] camel context doesn't start on some examples
CAMEL-11827
[example] spring-boot-servicecall - service1 returns 404 not found
CAMEL-11826
[example] hystrix, opentracing - spring-boot:run throws NPE
CAMEL-11825
[example] etl - unable to resolve dependency on karaf
CAMEL-11824
[example] cxf-proxy, loan-broker-cxf - port 1101/1102 is unexpectedly used

Task (10)

CAMEL-11883
New arguments to createGroup unintentionally made mandatory
CAMEL-11857
camel-zendesk : create karaf feature
CAMEL-11855
camel-opentracing : create karaf feature
CAMEL-11854
camel-pubnub : create karaf feature
CAMEL-11853
camel-reactor : create karaf feature
CAMEL-11852
camel-milo : create karaf feature
CAMEL-11851
camel-kura : create karaf feature
CAMEL-11849
camel-crypto-cms : create karaf feature
CAMEL-11821
camel-xstream - tests should initialize xstream
CAMEL-11817
cluster-service : camel-atomix spring boot support should have better bean names

Test (3)

CAMEL-11850
camel-hdfs2 - test fails on jdk9
CAMEL-11840
camel-itest-karaf - CamelLinkedinTest fails
CAMEL-11839
camel-itest-karaf - CamelBoxTest fails