gzurowski commented on code in PR #1053: URL: https://github.com/apache/camel-website/pull/1053#discussion_r1294362005
########## content/blog/2023/08/camel4-whatsnew/index.md: ########## @@ -0,0 +1,218 @@ +--- +title: "Apache Camel 4 What's New (top 10)" +date: 2023-08-15 +authors: [davsclaus,gzurowski,orpiske] +categories: ["Releases"] +preview: Top 10 of what's new in Apache Camel version 4 +--- +After 10 months of development, with 3 milestones, and 2 RC releases, we are releasing Apache Camel v4 +today as LTS release. The Camel `4.0.x` is a LTS release, and we will support it for 1 year. + +This blog post highlights some noteworthy new features and improvements in Camel v4. + +The features are based on work since January 2023, which was the time when we switched `main` branch to +be Camel v4 based. Since then, we focused our effort primarily on Camel v4. + +### 1) Major Goals + +The need for Camel 4 is mainly driven by Java open source projects migrating from `javax` to `jakarta` APIs, +and to keep up with popular runtimes such as Spring Boot and Quarkus. + +1. Migrate from `javax` -> `jakarta` (JEE 10) +2. Java 17 as minimum +3. Spring Boot 3 +4. Quarkus 3 + +Camel 4 requires Java 17. We plan to support Java 21 on next LTS released by the end of this year. + +### 2) Dependency updates + +We have upgraded all 3rd party dependencies to their latest releases where possible. + +### 3) Performance optimizations + +We have improved the performance of the internal Camel routing engine and framework. + +You can find more details in this blog post [camel 4 performance improvements](/blog/2023/05/camel-4-performance-improvements). + +### 4) Camel Spring Boot + +We tested Camel 4 with Spring Boot 3.1.2, the latest release available. + +The `camel-platform-http-starter` is now using the embedded HTTP server directly from Spring Boot, instead of +using Servlet APIs as previously. + +This release also comes with our first basic (and very limited) support for Spring Boot native (AOT compilation). +See more in the [aot-basic](https://github.com/apache/camel-spring-boot-examples/tree/main/aot-basic) example. + +### 5) Camel Quarkus + +The Camel Quarkus project is working on a new release with Camel 4 support, expected later this month. +Stay tuned for their release announcements. + +### 6) Camel Main + +For users who just want to run Camel as a standalone application, we have `camel-main` which is constantly being improved. +The core in `camel-main` is reused by Camel Spring Boot, Camel Quarkus, and Camel JBang as well. + +The inclusion of an embedded HTTP server is now made easy with the new `camel-platform-http-main` module. +See more in the [camel-main](https://github.com/apache/camel-examples/tree/main/examples/main) example. + +### 7) Camel JBang + +We made a lot of improvements to Camel JBang. The `camel` CLI can now easily run with different Camel versions, for example: + + camel run foo.yaml --camel-version=3.21.0 + camel run foo.yaml --camel-version=3.20.6 + +This is very handy when, for example, you need to trouble-shoot why _something_ started failed. For instance, in occasions when Review Comment: ```suggestion This is very handy when, for example, you need to trouble-shoot when _something_ started failing. For instance, in occasions when ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
