I’m improving the OAuth module and I wanted to utilize the properties stored in message.properties file in a Java class (api section of the module).
I have tried using @Value annotation (it worked with a regular spring project) to access the properties but it did not work in OpenMRS. What is the correct way to access properties in message.properties through a Java Class?