Polling importer not taking the latest updated time interval | Community
Skip to main content
New Participant
August 29, 2017
Solved

Polling importer not taking the latest updated time interval

  • August 29, 2017
  • 11 replies
  • 6265 views

Hi all,

I created a poll config with 300 seconds as the interval. It is working fine and polling for every five minutes. But if I updated the interval as, say 180 seconds, it's still taking up the old time and polling it for every five minutes. Shouldn't this be dynamic? I even restarted the server but it's still taking the old time interval. I don't want to restart or redeploy. Is there any reason why it isn't dynamic?

My poll config.

{

"jcr:primaryType": "sling:Folder",

"jcr:mixinTypes": [

"cq:PollConfig"

],

"jcr:createdBy": "admin",

"source": "myimporter:myDataSource",

"target": "somepath",

"jcr:created": "Fri Aug 11 2017 15:41:26 GMT+0530",

"interval": 180

}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

My findings -- it works on 6.1/6.2.

30.08.2017 10:26:53.538 *INFO* [pool-6-thread-3] com.community.aem.SimpleDSComponent Date : Wed Aug 30 10:26:53 EDT 2017

30.08.2017 10:26:53.538 *INFO* [pool-6-thread-3] com.community.aem.SimpleDSComponent scheme : myimporter

30.08.2017 10:26:53.538 *INFO* [pool-6-thread-3] com.community.aem.SimpleDSComponent datasource : myDataSource

You can change the value too in these versions:

You are correct - on AEM 6.3 - it throws exceptions. The bundle does into an Active state - but you cannot edit it.

This is a Product bug in AEM 6.3 - Please open a ticket and reference this AEM Community Thread.

11 replies

viveksachdeva
New Participant
August 29, 2017

I dont think your configuration is getting applied initially also. IIRC the default time is 300 sec, which is whats being used in your case all the time. Can you check if you have followed steps mentioned in Adobe Experience Manager Help | Creating Custom Data Importer Services for Adobe Experience Manager ?

If you did and still having issues, would be great if you can share a sample package with issue being reproducible.