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
- relates to
-
AMQ-4234 Broker destination policy prefetch value is ignored by stomp consumers
- Resolved