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

Broker sends a STOMP RECEIPT frame although the subscription fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.6.0
    • 5.7.0
    • STOMP
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: