Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Sling Sitemap schedular not working in Publisher


Level 1

We are using Apache sling sitemap scheduler but its not working, I am on 6.5 SP16.

All on demand configuration works fine in author.

I created config.publish config in author and published as below:



its available in publisher.

I am not seeing, that this scheduler is getting executed after every 3 mints in publisher.



My custom sitemap generator is as below:


import org.apache.sling.sitemap.spi.generator.ResourceTreeSitemapGenerator;
import org.apache.sling.sitemap.spi.generator.SitemapGenerator;
@component(service = SitemapGenerator.class)
public class SitemapGeneratorImpl implements SitemapGenerator {
  public void generate( Resource resource,
       String name,
       Sitemap sitemap,
       Context context) throws SitemapException {
   // logic to add url in sitemap
I am running Publisher in debug mode and I am observing that sometime OOTB ProductsSitemapGenerator is getting triggered sometimes(that time also i dont see my schedular is getting triggered) but call is never coming to my custom SitemapGeneratorImpl.
I have followed below thread but no luck
can someone please help.
Thanks in Advance.

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply



@archanas1187003 If you have found out solution yourself, please share it with the community.

Kautuk Sahni