Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3895

Broker sends a STOMP RECEIPT frame although the subscription fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: STOMP
    • Labels:
      None

      Description

      When using STOMP to subscribe to ActiveMQ using a receipt and an invalid selector or the client is not authorized, the broker replies with a RECEIPT frame giving the impression that the subscription did succeed.

      Since the subscription fails, a RECEIPT frame should not be sent but instead an ERROR from with the matching receipt-id value should be returned to the client.

      This was introduced in v5.6.0 as a fix for message dispatch sometimes beating the RECEIPT command back to the client.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: