
monika jayaram wrote...
Hi,
How can I make a polling service to sleep for a period of time in CQ5/AEM6 from another servlet.?
Thanks in advance
@Mohnika,
So if I understand your question correctly, you are trying to enable/disabled polling service through the code (Servlet). There is a workaround using bundleContext API though I don't have the exact code with me right now. below links could help you more on this.
http://www.vogella.com/tutorials/OSGiServices/article.html#osgiapiservice_overview
Jitendra