Question about dynamically reload bundles
The requirement is : run the jobs on client side, there may be completely new job, newer version job and the time to run the job my be changed at runtime.
My plan is:
a job scheduler bundle, a par include a job implementation bundle and a job schedule configuration bundle;
When there is a new version par put into pickup, the old one will be unload and the new one will be load, the job scheduler will run the new jobs.
At this time I tried put a new version bundle to pickup directory, I found that
both bundles are active in dm server. Did I made any mistake? How to make dm server unload old and load new one? Is dm server the right choice for my requirement?
Thanks in advance for any ideas
bundle reloading when version changed in Spring tool suite
In STS, When I set a bundle's version as a higher one, the dm server will unload the old one and reload the new one.
But when I export a higher version bundle and put it into pickup, the dm server
just load the new one and don't unload the old one. it seems dm server don't think they are the same bundle with different version. How to let dm server know they are the same one? Just like sts do.