I have a component in jar fole which has a autowired DataSource
@Service
Class ReadService{
@Autowire
DataSource readDataSource
}
@Service
Class WriteService{
@Autowire
DataSource writeDataSource
}
I have to configure two different severs, one to read and one to write.. how do I inject those DataSource to these beans created from Jar plugin...