gzurowski commented on code in PR #1092:
URL: https://github.com/apache/camel-website/pull/1092#discussion_r1390781371


##########
content/blog/2023/11/camel42-whatsnew/index.md:
##########
@@ -0,0 +1,130 @@
+---
+title: "Apache Camel 4.2 What's New"
+date: 2023-11-15
+authors: [davsclaus]
+categories: ["Releases"]
+preview: Details of what we have done in the Camel 4.2 release.
+---
+
+Apache Camel 4.2 (non LTS) has just been 
[released](/blog/2023/11/RELEASE-4.2.0/).
+
+This release introduces a set of new features and noticeable improvements that 
we will cover in this blog post.
+
+## Java 21
+
+This is the first release that officially supports running on Java 21.
+
+## Camel Core
+
+TODO: performance and type converter stuff
+
+The Java DSL now supports String text-blocks when defining Camel URIs, as 
shown:
+
+```
+from("""debezium-postgres:customerEvents
+        ?databasePassword={{myPassword}}
+        &databaseDbname=myDB
+        &databaseHostname=myHost
+        &pollIntervalMs=2000
+        &queryFetchSize=100""")
+    .to("kafka:cheese");
+```
+
+You can now use a bean method call with property placeholders.
+
+For example a bean can be used to return the name for a topic to use in a 
Kafka route:
+
+```
+from("kafka:{{bean:myBean.computeTopic}}")
+  .to("bean:cheese")
+```
+
+In this example Camel will invoke the method `computeTopic` on the bean with 
id `myBean` when the route is created.
+
+## Camel Main
+
+You can now configure the following in `application.properties`:
+
+- Global SSL options using `camel.ssl.`
+- Camel route debugger options using `camel.debug.`
+- Camel Open Telemetry options using `camel.opentelemetry.`
+
+## DSL
+
+The kebab-case syntax in YAML DSL has been deprecated and Camel will now 
report a WARN if detected.
+You should use Camel Case of course ;) For example `set-header` should be 
`setHeader`.
+
+## Camel JBang (Camel CLI)
+
+We have continued investing in Camel JBang, and this time we introduce the new 
DSL `debug` command, that is a Camel
+route debugger from the CLI. This makes it very easy and quick to run and 
debug your Camel routes and better
+see and understand what happens.
+
+![Camel Debug](camel_debug.png)
+
+We plan to make a separate blog and video showing the debug command in action.
+
+The Camel JBang now supports Java Agents when exporting to `camel-main` 
runtime. This makes it easy for example to
+include Open Telemetry Java Agent JAR in the export, so you can easily build, 
package and run with the agent readily available.
+
+We also made Camel JBang work better on Windows. However, we are interested in 
feedback from Windows users.
+
+The `run clipboard.yaml` command (run from clipboard) now supports `--dev` 
mode for reload on changes (i.e. you can copy to clipboard your updates).
+
+## Spring and Spring Boot
+
+Upgraded to latest 3.1.5 release.
+
+Added support for Spring beans using `@Primary` for auto-wiring. This allows 
Camel to use the primary bean when there are multiple
+bean instance for the same Java type (such as database connection's).

Review Comment:
   ```suggestion
   bean instance for the same Java type (such as database connections).
   ```



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to