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


##########
content/blog/2024/09/camel48-whatsnew/index.md:
##########
@@ -0,0 +1,193 @@
+---
+title: "Apache Camel 4.8 What's New"
+date: 2024-09-16
+authors: [davsclaus, squakez, orpiske, oscerd]
+categories: ["Releases"]
+preview: Details of what we have done in the Camel 4.8 release.
+---
+
+Apache Camel 4.8 LTS has just been [released](/blog/2024/09/RELEASE-4.8.0/).
+
+This release introduces a set of new features and noticeable improvements that 
we will cover in this blog post.
+
+## Camel Core
+
+The simple language has new functions such as a `iif` (ternary if).
+The `@BindToRegistry` now supports init/destroy methods, and can be declared 
as lazy as well.
+
+The `log` EIP can more easily configure its logger name using dynamic patterns.
+
+Add `poll` EIP as an easier and simpler version of `pollEnrich` EIP which is 
also more tooling friendly.
+
+The Camel tracer has been greatly performance improved, and reducing overhead.
+When using Camel JBang the tracing is now in _standby_ mode instead of enabled.
+You can use `camel trace --action=start` to starting tracing.
+
+We continued with micro-optimizations on the core code. For the `simple` 
language, matching predicates should be 
+about 12% faster - in average. Additionally, we have fine-tuned the buffer 
sizes used for multiple operations, 
+which should help reduce the CPU cycles required for generating strings, 
handling input and input data and more.
+
+
+### Cloud configuration
+
+In this version we've added the capability for the core to automatically read 
the cloud configuration that the user can mount at deployment time. Just add 
the configuration `camel.main.cloud-properties-location` to let the runtime to 
scan such directories (it's a comma separated values) and use those values as 
regular properties.
+
+For example, given the following application:
+
+```yaml
+- from:
+    uri: "timer:yaml"
+    parameters:
+      period: "1000"
+    steps:
+      - setBody:
+          simple: "Hello Camel from {{my-property}}"
+      - log: "${body}"
+```
+
+and the following Kubernetes Secret:
+
+```yaml
+apiVersion: v1
+data:
+  my-property: Q2FtZWwgNC44
+kind: Secret
+metadata:
+  name: my-secret
+type: Opaque
+```
+
+You can provide the `camel.main.cloud-properties-location = 
/etc/camel/conf.d/_secrets` application property. Then, just wire your 
Kubernetes secret (or configmap) to the Deployment specification as you usually 
do with your cloud configuration:
+
+```yaml
+    spec:
+      containers:
+...
+        volumeMounts:
+          - name: secret-volume
+            readOnly: true
+            mountPath: "/etc/camel/conf.d/_secrets"
+      volumes:
+      - name: secret-volume
+        secret:
+          secretName: my-secret
+```
+
+It's nice to notice that the management of secrets (and configuration) would 
be entirely delegated to the cluster and transparent for the final user.
+
+
+## Camel JBang
+
+We continued to improve and innovate with the Camel JBang CLI. For this 
release we have cleaned up the `camel export` command

Review Comment:
   ```suggestion
   We continue to improve and innovate with the Camel JBang CLI. For this 
release we have cleaned up the `camel export` command
   ```



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