Loading variables values from a properties file into my ServletProcessApplication

I was wanting to add a properties files to my ServletProcessApplication class an them use to properties to set variables that I can reference in my bpmn file. Is this possible or correct. If so how do I set variables? Is there an API for this. If this is not correct what a better way. I’m hoping to externalize some Restful endpoints urls that are currently hard coded in my bpmn file. Thanks in advance.

@William_Gosse similar need as: Use same workflow for multiple business partners with overrrides for process variables ?