gzurowski commented on code in PR #1224: URL: https://github.com/apache/camel-website/pull/1224#discussion_r1760084797
########## 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. Review Comment: ```suggestion 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. Simply add the configuration option `camel.main.cloud-properties-location` to allow the runtime to scan such directories (using comma separated values) and consume those values as regular properties. ``` -- 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]
