[FEATURE] @Channel annotation should be able to target function in addition to class #75
Open
2 tasks done
Labels
enhancement
New feature or request
Why do we need this improvement?
When utilizing Spring Cloud Stream to create interactions with messaging services, it is common to have functions that create Beans that are then utilized for sending and receiving messages.
How will this change help?
Currently to wrap this using this library, you have to create a wrapper class around it like this:
This is a lot of unnecessary verboseness in Spring Boot Kotlin.
Screenshots
No response
How could it be implemented/designed?
Adjusting this Target code to also allow for functions should resolve the issue.
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: