Skip to content

Gateway methods should not expect the mapping annotation to be the first parameter annotation [INT-895] #4901

@spring-operator

Description

@spring-operator

Mark Fisher opened INT-895 and commented

This code is currently in ArgumentArrayMessageMapper.mapArgumentsToMessage(..):

Annotation annotation = methodParam.getParameterAnnotations().length == 0 
        ? null : (methodParam.getParameterAnnotations()[0]);

Perhaps we can use the findMappingAnnotation(..) method that is already defined within that same class.


Affects: 2.0 M1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions