Runtime Reloading of flows
Our requirement is to externalize the flows, do lazy loading and refresh them when required.
I have tried setting the development property to true for flow-builder-services and was able to refresh the flows at run time. This doesn't appear to be a good approach, it may lead to performance issues as it reloads the flows for each and every request.
Is it possible to control this indicator programmatically without reloading the context?
Also, please provide a workable solution for lazy loading of flows. The access modifier for FlowRegistryFactoryBean and FlowLocation is DEFAULT. So, it is not possible to have control over it and dynamically set the location of flow. Is there any other class which can allow us to do the same.
We need to meet the stringent deadlines. Any help would be really appreciated :)