We are excited to announce the next major release of KumuluzEE Config MP. KumuluzeEE Config MP 2.0.0 implements the
MicroProfile Config 2.0 specification, which includes many improvements, among others the support for the
@ConfigProperties annotation which extracts bulk config properties into a POJO, the API which allows developers to
determine the winning source for a configuration value, and more.
Note: This release of KumuluzEE Config MP requires the KumuluzEE 4.1.0 or higher in order to work correctly. Consequently, Java 11 or higher is also required.
Some of the bigger changes in the MicroProfile Config 2.0 specification like property expressions (configuration value interpolation) and configuration profiles were added to the core KumuluzEE and can be used with or without KumuluzEE Config MP extension. To read more about these changes see the KumuluzEE 4.1.0 release notes.
@ConfigProperties annotation allows bulk extraction of config properties into a CDI bean and works similarly to
the KumuluzEE native
@ConfigBundle annotation. It works in the MicroProfile Config’s environment and supports its
features (e.g. converters, custom
ConfigSource implementations, …). For example, take a look at the following class: