As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Configuration().configurationUrl(resource).buildProcessEngine()
Hi Guys, In alpha1, I see that we build a ProcessEngine by Configuration Configuration().configurationUrl(resource).buildProcessEngine(); it's flexible relatively. But in alpha2, I see we have modified the building-approach: we build the ProcessEngine through a DbProcessEngineBuilder (and a ProcessEngineConfiguration). But in that, there are some hardcodes I think, i.e. we construct the BpmnDeploy class directly in DeployManager class. Why we do this modified? Is this a compromise or a permanent modify? Why we don't parse these files "activiti.cfg.default.deployer.manager.xml….." to construct the ProcessEngine?
Configuration().configurationUrl(resource).buildProcessEngine()
The configuration was changed to better facilitate wiring configuration completely in frameworks like spring. Now there is a ProcessEngineConfiguration. That is now completely specifyable in e.g. Spring's bean-xml (or any other IOC framework). So in that case you wouldn't need an activiti configuration file any more. The spring configuration would probably use the ProcessEngineConfiguration class directly, rather then the DbProcessEngineBuilder.