AnsweredAssumed Answered

5.17 Engine - Dynamically Inject Configurations

Question asked by solanki on Jan 27, 2015
Latest reply on Jan 28, 2015 by trademak
Hi,

I want to use the new activiti 5.17. I understand the rest component is dependent on spring mvc, but is also dependent upon engine initialization because of auto-wiring of formService bean etc..

Is there a way we can decouple activiti engine initialization and rest services initialization, earlier the restlet servlet wasn't dependent on engine and we could initialize them separately. The reason to do so is we want to pass some parameters from our running application to engine initialization and hence we do it when the web-application is up and running(engine using container of our web-app), but with spring mvc all beans need to be initialized at start-up.

Also there is no concept of lazy loading of beans, so all beans have to be initialized at start-up and can only take static resources ( properties ) as input, anyway to dynamically inject information such as db params etc..

Thanks
solanki

Outcomes