Class MapArgumentResolver

java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.handler.support.MapArgumentResolver
All Implemented Interfaces:
Aware, BeanFactoryAware, InitializingBean, HandlerMethodArgumentResolver

public class MapArgumentResolver extends AbstractExpressionEvaluator implements HandlerMethodArgumentResolver
A HandlerMethodArgumentResolver implementation to resolve argument for the MethodParameter as a Map or Properties.

The Message.getHeaders() is used when MethodParameter is marked with the Headers annotation or Message.getPayload() isn't Map or Properties compatible.

If MethodParameter is of Properties type and Message.getPayload() is a String containing = symbol, the MapArgumentResolver uses the ConversionService trying to convert that String to a Properties object.

Since:
5.0
Author:
Artem Bilan, Gary Russell