public class LambdaMessageProcessor extends Object implements MessageProcessor<Object>, BeanFactoryAware
MessageProcessor
implementation for method invocation on the single method classes
- functional interface implementations.Constructor and Description |
---|
LambdaMessageProcessor(Object target,
Class<?> payloadType) |
Modifier and Type | Method and Description |
---|---|
Object |
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
public Object processMessage(Message<?> message)
MessageProcessor
processMessage
in interface MessageProcessor<Object>
message
- The message to process.