String id  URL resource
nuxeo-platform-document-routing-core/src/main/java/org/nuxeo/ecm/platform/routing/core/impl/DocumentRoutingServiceImpl.java
routeModelTemplateResouces.put(id, resource);
void registerRouteModelTemplateResource(String id, URL resource)
nuxeo-platform-document-routing-core/src/main/java/org/nuxeo/ecm/platform/routing/core/listener/RouteModelsInitializator.java
try {
            if (service == null) {
                service = Framework.getService(DocumentRoutingService.class);
DocumentRoutingService getDocumentRoutingService()