Skip to content

@SendTo annotation not found on Jms listener with JDK proxy [SPR-12513] #17118

@spring-projects-issues

Description

@spring-projects-issues

Stéphane Nicoll opened SPR-12513 and commented

If the bean that is being introspected for @JmsListener annotated method is a JDK proxy, the method used as the source of the Endpoint is the method of the proxy which does not reveal the @SendTo annotation on the underlying class.

We should find a way to retrieve that information properly. Adding @Transactional on your @JmsListener annotated method might be enough to trigger this problem.


Affects: 4.1 GA

Referenced from: commits adc7ad7

2 votes, 1 watchers

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions