final List<Channel> channels = new ArrayList<Channel>();
for (final String chName : channelNames) {
channels.add(conf.getChannels().get(chName));
}
final ChannelSelectorConfiguration selectorConfig = config.getSelectorConfiguration();
final ChannelSelector selector = ChannelSelectorFactory.create(channels, selectorConfig);
final ChannelProcessor channelProcessor = new ChannelProcessor(selector);
Configurables.configure(channelProcessor, config);