Skip to content

@JmsListener concurrency property is ignored if DefaultJmsListenerContainerFactory#concurrency is set [SPR-16338] #20885

@spring-projects-issues

Description

@spring-projects-issues

Cameron Mayfield opened SPR-16338 and commented

We are noticing that the concurrency property on a specific @JmsListener annotation is overwritten by the DefaultJmsListenerContainerFactory concurrency value which is set using the spring.jms.listener.concurrency property. This appears to occur in DefaultJmsListenerContainerFactory#initializeContainer.

We were hoping to override the concurrency for a specific @JmsListener while leaving the others on the default.


Affects: 4.3.13

Referenced from: commits 0747cd6, 42dfa40

Backported to: 4.3.14

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions