protected void processInboundRouters(Class componentFactoryClass, org.mule.api.service.Service service) throws MuleException
{
for (int i = 0; i < componentFactoryClass.getAnnotations().length; i++)
{
Annotation annotation = componentFactoryClass.getAnnotations()[i];
Router routerAnnotation = annotation.annotationType().getAnnotation(Router.class);
if (routerAnnotation != null && routerAnnotation.type() == RouterType.Inbound)
{
MessageProcessorAnnotationParser parser = parserFactory.getRouterParser(annotation, componentFactoryClass, null);
if (parser != null)
{
((ServiceCompositeMessageSource) service.getMessageSource()).addMessageProcessor(parser.parseMessageProcessor(annotation));