The same configuration that works for backends doesn't work with modules: myTaskOptionsInstance.header("Host", ModulesServiceFactory.getModulesService().getModuleHostname("mymodulename", modulesApi.getDefaultVersion("mymodulename")) please show in the sample how to schedule tasks to modules.
The same configuration that works for backends doesn't work with modules:
myTaskOptionsInstance.header("Host", ModulesServiceFactory.getModulesService().getModuleHostname("mymodulename", modulesApi.getDefaultVersion("mymodulename"))
please show in the sample how to schedule tasks to modules.