Expand my Community achievements bar.

SOLVED

polling servlet

Avatar

Level 1

Hi,

How can I make a polling service to sleep for a period of time in CQ5/AEM6 from another servlet.?

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can write a custom AEM service that is able to import data at specific time periods. See this community article for details: 

https://helpx.adobe.com/experience-manager/using/polling.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You can write a custom AEM service that is able to import data at specific time periods. See this community article for details: 

https://helpx.adobe.com/experience-manager/using/polling.html

Avatar

Level 9

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