Skip to content

MessagingMessageListenerAdapter should use DestinationResolver of MessageListenerContainer [SPR-13059] #17651

@spring-projects-issues

Description

@spring-projects-issues

Marten Deinum opened SPR-13059 and commented

When using @JmsListener and a @SendTo the created MessagingMessageListenerAdapter always uses a DynamicDestinationResolver. When the used MessageListenerContainer is configured with a different DestinationResolver.

This is problematic in the case of using a JndiDestinationResolver.

A fix could be to set the appropriate DestinationResolver in the setupMessageListener method of the AbstractMessageListenerContainer so that the appropriate one is used.


Affects: 4.1.6

Issue Links:

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)status: duplicateA duplicate of another issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions