96979899100101102103104105106
ChannelProcessor chp = new ChannelProcessor(rcs); source.setChannelProcessor(chp); source.start(); Thread.sleep(5000); source.stop(); sinkRunner.stop(); sink.stop(); } @Test