I am able to configure activiti engine to just work with routing data source.
How easy it is to customize job executor in terms of setting the threadlocal value so that it picks right data source to perform job operations.
At the same time, i would be interested to know what all extension points we have to set threadlocal variables during activiti engine bootstrap so that i have necessary thread level variables set even before activiti engine 's configuration try to fetch data source instance using data source router.
I would be more interested in general to know, how to easily configure activiti engine to use routing data source instead of plain data source using the data source lookup key present in thread local variable.