@JmsListener concurrency property is ignored if DefaultJmsListenerContainerFactory#concurrency is set [SPR-16338] #20885
Labels
in: messaging
Issues in messaging modules (jms, messaging)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
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
The text was updated successfully, but these errors were encountered: