code: private InboundResourceAdapter processActivation(AnnotationRepository annotationRepository, ClassLoader classLoader,
                                                      ArrayList<ConfigProperty> configProperties,
                                                      ArrayList<ConfigProperty> plainConfigProperties)
        throws Exception
     {
        ArrayList<MessageListener> listeners = new ArrayList<MessageListener>();
        Collection<Annotation> values = annotationRepository.getAnnotation(Activation.class);
        if (values != null)
        {
           for (Annotation annotation : values)
           {
              listeners.addAll(attachActivation(annotation, classLoader, configProperties, plainConfigProperties));
           }
           listeners.trimToSize();
        }
  
        return new InboundResourceAdapterImpl(new MessageAdapterImpl(listeners, null), null);
     }
docs: Process: @Activation
  @param annotationRepository The annotation repository
  @param classLoader The class loader
  @param configProperties The config properties
  @param plainConfigProperties The plain config properties
  @return The updated metadata
  @exception Exception Thrown if an error occurs