Class PayloadsArgumentResolver
java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.handler.support.PayloadsArgumentResolver
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,InitializingBean
,HandlerMethodArgumentResolver
public class PayloadsArgumentResolver
extends AbstractExpressionEvaluator
implements HandlerMethodArgumentResolver
The
HandlerMethodArgumentResolver
for resolving a Collection
of payloads
or expression against each payload
.
IMPORTANT: The Message
for argument resolution must contain a payload
as Collection
of Message
s.
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
EXPRESSION_PARSER, logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveArgument
(MethodParameter parameter, Message<?> message) boolean
supportsParameter
(MethodParameter parameter) Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setBeanFactory, setConversionService
-
Constructor Details
-
PayloadsArgumentResolver
public PayloadsArgumentResolver()
-
-
Method Details
-
supportsParameter
- Specified by:
supportsParameter
in interfaceHandlerMethodArgumentResolver
-
resolveArgument
- Specified by:
resolveArgument
in interfaceHandlerMethodArgumentResolver
-