queueSettings.merge(parentQueueSettings);
}
if (queueSettings.getOnBackend() == null) {
String module = queueSettings.getOnModule();
if (module == null) {
BackendService backendSerivce = BackendServiceFactory.getBackendService();
String currentBackend = backendSerivce.getCurrentBackend();
// If currentBackend contains ':' it is actually a B type module (see b/12893879)
if (currentBackend != null && currentBackend.indexOf(':') == -1) {
queueSettings.setOnBackend(currentBackend);
} else {
ModulesService modulesService = ModulesServiceFactory.getModulesService();