how to fill the data class from xml file?
Early data lay in the application.yml file, but it was necessary to move it into a separate file to solve a parallel problem. The question is how to specify the path to this data.
I tried to change the path using PropertySource, but nothing really happened. Each time or data was taken from the same file or spring fell before it could start
@ConstructorBinding
@ConfigurationProperties(prefix = "merchant-connection")
data class ConnectionsProfileProperties(
val connectionProfiles: Map
) {...