Configurables.configure(altSource, context);
List<Channel> channels = new ArrayList<Channel>();
channels.add(primaryChannel);
ChannelSelector primaryCS = new ReplicatingChannelSelector();
primaryCS.setChannels(channels);
List<Channel> altChannels = new ArrayList<Channel>();
altChannels.add(alternateChannel);
ChannelSelector alternateCS = new ReplicatingChannelSelector();
alternateCS.setChannels(altChannels);
primarySource.setChannelProcessor(new ChannelProcessor(primaryCS));
altSource.setChannelProcessor(new ChannelProcessor(alternateCS));
primarySource.start();