Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-313

NMS.Stomp MessageConsumer throws exception with wrong / misleading error text

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0, 1.5.0
    • 1.5.1
    • Stomp
    • None

    Description

      When a call to a Receive method is done and there is already a registered asynchronous listener the Stomp MessageConsumer throws an exception with the message:

      "Cannot set Async listeners on Consumers with a prefetch limit of zero"

      This should be

      "Cannot perform a Synchronous Receive when there is a registered asynchronous listener."

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: