Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INT-4367: Fix MessagingMethodInvHelper for CGLIB #2303

Merged
merged 1 commit into from
Dec 19, 2017

Conversation

artembilan
Copy link
Member

JIRA: https://jira.spring.io/browse/INT-4367

When CGLIB proxy is used for messaging POJO invocation,
the InvocableHandlerMethod doesn't recognize method parameter
annotations and therefore the logic is wrong at runtime or just
rejected during method processing

  • Use AopUtils.selectInvocableMethod() to select the proper method to
    call according the provided proxy type

JIRA: https://jira.spring.io/browse/INT-4367

When CGLIB proxy is used for messaging POJO invocation,
the `InvocableHandlerMethod` doesn't recognize method parameter
annotations and therefore the logic is wrong at runtime or just
rejected during method processing

* Use `AopUtils.selectInvocableMethod()` to select the proper method to
call according the provided proxy type
@garyrussell garyrussell merged commit 21bf69b into spring-projects:master Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants