cancel
Showing results for 
Search instead for 
Did you mean: 

Create processengine using spring

nawnaw
Champ in-the-making
Champ in-the-making
Hi,
Iam a new user of activiti engine,
i use ProcessEngines.getDefaultProcessEngine() method which look for activiti.cfg.xml
How can i create a processengine using spring configuration file (SpringTransactionIntegrationTest-context.xml) explained in the user guide ?
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
You just said it yourself (explained in the user guide)…

Take a look here for a good example of a spring-config file with your process-engine configured in it:
http://svn.codehaus.org/activiti/activiti/trunk/modules/activiti-spring/src/test/resources/activiti-...

The rest is just plain spring… Obtain your application-context as you normally would in the environment you're running.