Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16338

@JmsListener concurrency property is ignored if DefaultJmsListenerContainerFactory#concurrency is set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Complete
    • 4.3.13
    • 4.3.14, 5.0.3
    • JMS
    • None
    • true

    Description

      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.

      Attachments

        Activity

          People

            snicoll St├ęphane Nicoll
            cameronjmayfield Cameron Mayfield
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 38 weeks, 1 day ago