@Nullable abstract fun resolveArgument(parameter: MethodParameter, message: Message<*>): Any
Resolves a method parameter into an argument value from a given message.
parameter
- the method parameter to resolve. This parameter must have previously been passed to #supportsParameter(org.springframework.core.MethodParameter)
which must have returned true
.
message
- the currently processed message
Exception
- in case of errors with the preparation of argument values
Return
the resolved argument value, or null