Loading BPMN files as external resource

I have the application that bundles all the java code and BPMN files as one .war file during the deployment. I would like to keep the BPMNM files as an external folder as resource and load it dynamically into camunda engine. How can this be done?

there is a rest for bpmn deploying, so it’s really up to you how to implement auto deployment from external folder.

Thank you. I will check.