Class RouterAnnotationPostProcessor

java.lang.Object
org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor<Router>
org.springframework.integration.config.annotation.RouterAnnotationPostProcessor
All Implemented Interfaces:
MethodAnnotationPostProcessor<Router>

public class RouterAnnotationPostProcessor
extends AbstractMethodAnnotationPostProcessor<Router>
Post-processor for Methods annotated with @Router.
  • Constructor Details

    • RouterAnnotationPostProcessor

      public RouterAnnotationPostProcessor​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
  • Method Details

    • createHandler

      protected org.springframework.messaging.MessageHandler createHandler​(java.lang.Object bean, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)
      Description copied from class: AbstractMethodAnnotationPostProcessor
      Subclasses must implement this method to create the MessageHandler.
      Specified by:
      createHandler in class AbstractMethodAnnotationPostProcessor<Router>
      Parameters:
      bean - The bean.
      method - The method.
      annotations - The messaging annotation (or meta-annotation hierarchy) on the method.
      Returns:
      The MessageHandler.