Skip to content

Allow Functions as Service Activators #2575

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

Merged
merged 2 commits into from
Oct 2, 2018

Conversation

artembilan
Copy link
Member

  • Fix MessagingMethodInvokerHelper to extract canonical method for the
    Function and Consumer beans
  • Demonstrate in test how Function and Consumer can be configured
    with the Messaging annotations

/CC @markpollack , @olegz

* Fix `MessagingMethodInvokerHelper` to extract canonical method for the
`Function` and `Consumer` beans
* Demonstrate in test how `Function` and `Consumer` can be configured
with the Messaging annotations

final String methodName;

if (methodNameToUse == null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not good practice to mutate parameter arguments. Better to leave the argument final (e.g. final String methodNameArg) and then String methodName = methodNameArg.

@garyrussell garyrussell merged commit 8b4d1e6 into spring-projects:master Oct 2, 2018
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