Hi,
I am passing text file as classpath resource to TimerTask bean and reading in run() method as follows -
<property name="resource" value="classpath:somemap.txt"/>
public void run () {
BufferedReader reader = new BufferedReader(new InputStreamReader(resource.getInputStream()));}
But the problem is if i change somemap.txt contents at runtime, changes are not picked up in next run of the timer task
any ideas ?
thanks
adi


Reply With Quote