Apache Camel 2.21.0 Release

New and Noteworthy

Welcome to the 2.21.0 release which resolved 400 issues including new features, improvements and bug fixes.

This release supports only Spring Boot 1.5.x. Support for Spring Boot 2.0.x is coming in Camel version 2.22 which is planned for early summer 2018.

The following issues has been fixed

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.21.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.21.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.21.0.zip apache-camel-2.21.0.zip.asc
Unix/Linux/Cygwin Distribution apache-camel-2.21.0.tar.gz apache-camel-2.21.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.21.0-src.zip apache-camel-2.21.0-src.zip.asc

Git tag checkout

Release is tagged with camel-2.21.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.21.0

Resolved issues

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

Bug (18)

CAMEL-12342
Camel-weather: freegeoip.io has been moved to freegeoip.net
CAMEL-12340
camel uses org.springframework.boot.bind.RelaxedPropertyResolver which is removed from spring 2.0.0
CAMEL-12335
camel-sjms - Potential NPE in consumer
CAMEL-12333
MllpTcpServerConsumer resetting connections on idleTimout
CAMEL-12328
Headers getting lost after calling kubernetes-services API
CAMEL-12324
Issue:Camel rabbitmq publishes message to consumer exchange instead of publisher exchange
CAMEL-12318
Exception from aggregate() of AggregationStrategy has been hiden since Camel 2.16.x
CAMEL-12315
camel-mllp - AutoAcknowledgement issues
CAMEL-12306
String -> Enum type conversion no longer work if Jackson converter is enabled
CAMEL-12292
SnsProducer/SqsProducer setting MessageAttributes with empty values which causes errors
CAMEL-12291
Blueprint error: "name is already instanciated as null and cannot be removed"
CAMEL-12289
URISyntaxException in AbstractSpanDecorator
CAMEL-12287
Allow overriding the server reported endpoint
CAMEL-12286
Milo client broken
CAMEL-12284
camel-beanio - Set encoding option does not work
CAMEL-12282
rest-dsl - Inlined route has route id wrongly assigned
CAMEL-12279
convertBodyTo w/Charset removes existing Charset from Exchange
CAMEL-12278
camel-jsonpath - Should allow to load jackson adapter in OSGi

Improvement (15)

CAMEL-12341
camel-spring-boot - Add actuator to dump routes in xml format
CAMEL-12339
Add jsonpath to RouteBuilder
CAMEL-12330
camel-rabbitmq - Allow to configure connection settings on component level
CAMEL-12329
camel-rabbitmq - Use another header for exchange override header in producer
CAMEL-12327
camel-infinispan - Add GET check before PUT on add operation in idempontent repository
CAMEL-12326
Improve CamelCxfClientImpl a bit ensure it can handle camel side usecase
CAMEL-12321
camel-bindy - Allow to configure unmarshal to always return a list type
CAMEL-12314
advice with - Log route before vs after advice on startup
CAMEL-12311
Update Braintree SDK to 2.77.0
CAMEL-12309
SpEL expression should be able to reference beans in non-Spring application context
CAMEL-12308
Upgrade to CXF 3.2.2
CAMEL-12305
IntrospectionSupport - Reduce DEBUG logging level
CAMEL-12296
Aggregator - Add option to complete all groups on new correlation id
CAMEL-12293
Avoid KeyAlreadyExistsException in ManagedTypeConverterRegistry.listTypeConverters()
CAMEL-12283
camel-restdsl-swagger-plugin - Allow to filter operations

New Feature (6)

CAMEL-12332
camel-csv - Add support for ordered Map in unmarshal
CAMEL-12316
mongodb : Add allowDiskUse option to aggregate operation
CAMEL-12302
camel-mongodb : Support for bulk writes operation
CAMEL-12295
Add an option to Jms Endpoints so that they format JMS date properties according to the ISO 8601 standard
CAMEL-12280
Camel AWS S3: Add other fields in the exchange returned from the consumer
CAMEL-12275
Extend the AWS S3 integration to support the usage of IAM credentials

Task (8)

CAMEL-12338
Add a Camel-Xchange Karaf feature
CAMEL-12313
camel-maven-plugin - Add docs about run goal options
CAMEL-12312
camel-undertow - Add examples to doc about using websocket
CAMEL-12310
Update maven-bundle-plugin
CAMEL-12304
camel-spring-sources - Misses some source files
CAMEL-12303
Make building camel-spring and camel-blueprint work for XSD generation more cleanly
CAMEL-12299
Upgrade to jcloud 2.1.x
CAMEL-12297
Miscellaneous fixes to AsciiDoc format and layout

Test (3)

CAMEL-12301
camel-itest-spring-boot - CamelOpenTracing fails
CAMEL-12300
camel-example - AMQP blueprint fails test
CAMEL-12298
camel-aws - Unit test failure