Following Igors blog Ive added a PageRenderLinkTransformer to url rewriting.
Now, Im trying to add also a ComponentEventLinkTransformer, but the method @Contribute(PageRenderLinkTransformer.class) @Primary public static void provideURLRewriting( OrderedConfiguration<PageRenderLinkTransformer> configuration, SitemapService sitemapService) { configuration.add("Sitemap", sitemapService); } is only for PageRenderLinkTransformer. Adding a second method @Contribute(ComponentEventLinkTransformer.class) @Primary public static void provideURLRewriting( OrderedConfiguration<ComponentEventLinkTransformer> configuration, SitemapService sitemapService) { configuration.add("Sitemap", sitemapService); } doesnt work either, since its essentially a duplicate method defintion. Im probably missing something. Thanks in advance. -- Jens Reufsteck