tadayosi commented on code in PR #1292:
URL: https://github.com/apache/camel-website/pull/1292#discussion_r1948356087


##########
content/blog/2025/02/camel410-whatsnew/index.md:
##########
@@ -0,0 +1,175 @@
+---
+title: "Apache Camel 4.10 What's New"
+date: 2025-02-12
+authors: [davsclaus, opiske]
+categories: ["Releases"]
+preview: Details of what we have done in the Camel 4.10 release.
+---
+
+Apache Camel 4.10 LTS has just been [released](/blog/2025/02/RELEASE-4.10.0/).
+
+This release introduces a set of new features and noticeable improvements that 
we will cover in this blog post.
+
+## Camel Core
+
+Added `customize` to `RouteBuilder` to make it easier to configure a specific 
Camel component / dataformat, service
+from a Java lambda style, such as follows:
+
+```java
+@Override
+public void configure() throws Exception {
+    customize(KServeComponent.class, k -> {
+        k.getConfiguration().setTarget("localhost:8888");
+    });
+
+    from("timer:kserve?repeatCount=1")
+        .to("kserve:model/metadata?modelName=myModel")
+        .log("${body}");
+}
+```
+
+This makes it possible for low-code users that want to have a single Java file 
with the Camel route
+and all the Java based configuration done entirely from the same `configure` 
method.
+
+## Camel JBang
+
+Using _modeline_ has been deprecated. It is recommended to configure 
externally in `application.properties`
+files.

Review Comment:
   Can we refer to the documentation on how `application.properties` can be 
used here?



-- 
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]

Reply via email to