Class BeanNameMessageProcessor<T>
java.lang.Object
org.springframework.integration.handler.BeanNameMessageProcessor<T>
- Type Parameters:
- T- the expected- processMessage(org.springframework.messaging.Message<?>)result type.
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- MessageProcessor<T>
public class BeanNameMessageProcessor<T>
extends Object
implements MessageProcessor<T>, BeanFactoryAware
An "artificial" 
MessageProcessor for lazy-load of target bean by its name.
 For internal use only.- Since:
- 5.0
- Author:
- Artem Bilan
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprocessMessage(Message<?> message) Process the Message and return a value (or null).voidsetBeanFactory(BeanFactory beanFactory) 
- 
Constructor Details- 
BeanNameMessageProcessor
 
- 
- 
Method Details- 
setBeanFactory- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
- Throws:
- BeansException
 
- 
processMessageDescription copied from interface:MessageProcessorProcess the Message and return a value (or null).- Specified by:
- processMessagein interface- MessageProcessor<T>
- Parameters:
- message- The message to process.
- Returns:
- The result.
 
 
-