Thursday 18 May 2023

Micronaut: work with immutable configuration

There are two ways to define immutable configuration.

a.   Using @ConfigurationProperties annotation on an interface.

b.   Using the @ConfigurationInject annotation on a constructor of a@ConfigurationProperties or @EachProperty bean.

Previous                                                    Next                                                    Home

No comments:

Post a Comment