Microprofile Config: Creating a Custom ConfigSource
Code First. In this post I’ll show you how to create a custom ConfigSource to read properties from an external file. This blog won’t explain what Eclipse Microprofile Config is, access my last post Understanding Eclipse Microprofile Config .
The Eclipse Microprofile Config provides support to read configuration properties by a ConfigSource class. Developers need create a custom support to any configuration source (such as database, file system, service), you need create a custom ConfigSource class to provide this support.