@Override public void processModule(Module module, String group, int index) { String type = module.getType(); if (("source".equals(type) || "processor".equals(type) || "sink".equals(type)) && group != null) { this.registerChannels(module.getComponents(MessageChannel.class), group, index); this.configureProperties(module, group); } }