assertEquals("Number of routes created: " + list, 1, list.size());
Route route = list.get(0);
EventDrivenConsumerRoute consumerRoute = assertIsInstanceOf(EventDrivenConsumerRoute.class, route);
DefaultChannel channel = assertIsInstanceOf(DefaultChannel.class, unwrapChannel(consumerRoute.getProcessor()));
assertIsInstanceOf(DefaultErrorHandler.class, channel.getErrorHandler());
assertFalse("Should not have stream caching", channel.hasInterceptorStrategy(StreamCaching.class));
assertIsInstanceOf(Resequencer.class, channel.getNextProcessor());
}