Hi,
I use Spring Quartz scheduler(Clustered) in my application as follows. Inside the scheduler, i instantiate a
thread class to spawn a new thread for each record and inside the thread class, i use reference of other bean class using wiring concept. As the thread class inside the scheduler is instantiated using the new operator, the dependency injection inside the thread class is not working. Is there any way, we can achieve this?
From applicationContext.xml,
CampaignNow.java class,
Thread class,
Thanks,
Baskar.S