cancel
Showing results for 
Search instead for 
Did you mean: 

@EnableActiviti replace activiti.cfg.xml

thysmichels
Champ in-the-making
Champ in-the-making
I want to replace activiti-cfg.xml with my @EnabledActiviti configuration class. How do I tell the process to use a specific @EnableActiviti  configuration class. I will have a Developer and Production configuration class.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
You can't tell a specific process to use a certain config.
Your application uses a certain config, and then all process use that config.

Switching between dev and prod is something you'll need to do in Spring. Typically you'd use Spring profiles nowadays.