Create processengine using spring
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2012 11:56 AM
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 ?
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 ?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2012 02:18 AM
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.
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.
