Skip to content

Can configure @EnablePublisher(proxyTargetClass=true) #2695

Closed
@italktothewind

Description

@italktothewind

Enhancement

Problem: As discussed in https://stackoverflow.com/questions/54150939/spring-cloud-stream-and-publisher-annotation-compatiblity/54151130, services using @Publisher annotation can't be injected using @Autowire

Possible solution: using an annotation like @EnablePublisher(proxyTargetClass=true). Other proxy implementations of Spring like @Cacheable or @Async use this flag.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions