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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: Stomp
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: