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
.- Author:
- Mark Fisher, Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
annotationType, beanFactory, channelResolver, conversionService, disposables, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description RouterAnnotationPostProcessor(ConfigurableListableBeanFactory beanFactory)
-
Method Summary
Modifier and Type Method Description protected MessageHandler
createHandler(Object bean, Method method, List<Annotation> annotations)
Subclasses must implement this method to create the MessageHandler.Methods inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
beanAnnotationAware, buildLambdaMessageProcessorForBeanMethod, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, doCreateEndpoint, extractAdviceChain, extractTypeIfPossible, generateHandlerBeanName, getInputChannelAttribute, postProcess, resolveAttributeToBoolean, resolveTargetBeanFromMethodWithBeanAnnotation, resolveTargetBeanName, setOutputChannelIfPresent, shouldCreateEndpoint
-
Constructor Details
-
Method Details
-
createHandler
Description copied from class:AbstractMethodAnnotationPostProcessor
Subclasses must implement this method to create the MessageHandler.- Specified by:
createHandler
in classAbstractMethodAnnotationPostProcessor<Router>
- Parameters:
bean
- The bean.method
- The method.annotations
- The messaging annotation (or meta-annotation hierarchy) on the method.- Returns:
- The MessageHandler.
-