Hi, Thanks for the idea. And to have it jta managed etc? Anything I need to think about to make it behave as normal. No source in front of me now but maybe enough to use correct datasource impl?
Skickat från min iPhone > 27 nov. 2017 kl. 16:42 skrev Romain Manni-Bucau <rmannibu...@gmail.com>: > > Hi > > if you have a router impl you can just use your own datasource manager > behind it and manage it the way you want no? > > Romain Manni-Bucau > @rmannibucau | Blog | Old Blog | Github | LinkedIn > > > 2017-11-27 16:27 GMT+01:00 Karl Kildén <karl.kil...@gmail.com>: >> Hello! >> >> For production we use tomee.xml and for development resources.xml and are >> very happy. >> >> >> Our next app to convert to tomee is multi-tenant with a hard requirement on >> logical separation so we will need a Router and dynamic datasources. This >> is also working very well in my tests. >> >> We will have hundreds of datasources and a restart to add a new one is not >> efficient enough. >> >> - Can we centralize the resource definitions? >> - Can we reload the definitions if we add a new one during runtime? >> >> >> Cheers