cancel
Showing results for 
Search instead for 
Did you mean: 

Spring configuration and tenantId

giulio_quaresim
Champ in-the-making
Champ in-the-making
Hello, this is my first topic in this forum, and I am a new Activiti user, too. Before creating this topic, I searched a solution to my problem with this forum's search engine, with Google, and inside the book "Activiti in Action" I already purchased, but I found nothing.

I'd like to use a single Activiti DB for several applications, with distinct Activiti runtimes, and so I'd like to leverage the multi-tenancy support (as explained here). But I'm used to use Spring, so I wonder how can I configure the tenantId through Spring, if it is possible.

Very thanks you, and sorry for my poor english.
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Giulio,

tenant id is string Id to distinguish tenants used in activiti runtime. You do not need to configure it in the spring.
http://www.activiti.org/userguide/#advanced.tenancy

Regards
Martin

giulio_quaresim
Champ in-the-making
Champ in-the-making
OK, I understand well now. Very thanks!