public class MethodInvokingMessageListProcessor<T> extends AbstractExpressionEvaluator implements ManageableLifecycle
EXPRESSION_PARSER, logger| Constructor and Description |
|---|
MethodInvokingMessageListProcessor(Object targetObject,
Class<? extends Annotation> annotationType) |
MethodInvokingMessageListProcessor(Object targetObject,
Method method) |
MethodInvokingMessageListProcessor(Object targetObject,
Method method,
Class<T> expectedType) |
MethodInvokingMessageListProcessor(Object targetObject,
String methodName) |
MethodInvokingMessageListProcessor(Object targetObject,
String methodName,
Class<T> expectedType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning() |
T |
process(Collection<Message<?>> messages,
Map<String,Object> aggregateHeaders) |
void |
setBeanFactory(BeanFactory beanFactory)
Specify a BeanFactory in order to enable resolution via
@beanName in the expression. |
void |
setUseSpelInvoker(boolean useSpelInvoker)
A
boolean flag to use SpEL Expression evaluation or
InvocableHandlerMethod
for target method invocation. |
void |
start() |
void |
stop() |
String |
toString() |
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setConversionServicepublic MethodInvokingMessageListProcessor(Object targetObject, Method method, Class<T> expectedType)
public MethodInvokingMessageListProcessor(Object targetObject, Method method)
public MethodInvokingMessageListProcessor(Object targetObject, String methodName, Class<T> expectedType)
public MethodInvokingMessageListProcessor(Object targetObject, String methodName)
public MethodInvokingMessageListProcessor(Object targetObject, Class<? extends Annotation> annotationType)
public void setBeanFactory(@NonNull BeanFactory beanFactory)
AbstractExpressionEvaluator@beanName in the expression.setBeanFactory in interface BeanFactoryAwaresetBeanFactory in class AbstractExpressionEvaluatorpublic void setUseSpelInvoker(boolean useSpelInvoker)
boolean flag to use SpEL Expression evaluation or
InvocableHandlerMethod
for target method invocation.useSpelInvoker - to use SpEL Expression evaluation or not.public void start()
start in interface Lifecyclestart in interface ManageableLifecyclepublic void stop()
stop in interface Lifecyclestop in interface ManageableLifecyclepublic boolean isRunning()
isRunning in interface LifecycleisRunning in interface ManageableLifecycle