T
- the expected processMessage(org.springframework.messaging.Message<?>)
result type.public class BeanNameMessageProcessor<T> extends Object implements MessageProcessor<T>, BeanFactoryAware
MessageProcessor
for lazy-load of target bean by its name.
For internal use only.Constructor and Description |
---|
BeanNameMessageProcessor(String object,
String methodName) |
Modifier and Type | Method and Description |
---|---|
T |
processMessage(Message<?> message)
Process the Message and return a value (or null).
|
void |
setBeanFactory(BeanFactory beanFactory) |
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
@Nullable public T processMessage(Message<?> message)
MessageProcessor
processMessage
in interface MessageProcessor<T>
message
- The message to process.