Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-148

Default number of consumers is 0 on SimpleMessageListenerContainer if afterPropertiesSet() not called

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Complete
    • Affects Version/s: 1.0.0.M3, 1.0.0.RC1
    • Fix Version/s: 1.0.0.RC2
    • Component/s: RabbitMQ
    • Labels:
      None

      Description

      SimpleMessageListenerContainer has a default number of concurrent consumers set to 0, and the validateConfiguration() method, which checks for it and eventually set it to 1, seems to be never called.
      This is very annoying, because applications using older versions will stop working with no apparent reason.

      Finally, please note that version M2 had a default number set to 1.

        Attachments

          Activity

            People

            Assignee:
            david_syer Dave Syer
            Reporter:
            sbtourist Sergio Bossa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: