Here’s another approach.
Define a get Java service to retrieve a specific property.
On the Shared tab, declare and define a static Properties object. Use a static initializer to load a file into that object.
In the get service, retrieve the value of the property from the Properties object. Any service from any thread can call this service.
If you need to refresh the object, do not assign null to the Properties object and create a new one. Instead, call clear and then reload. That will be thread safe.
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods