Timothy Bish created AMQ-3895:
---------------------------------
Summary: Broker sends a STOMP RECEIPT frame although the
subscription fails
Key: AMQ-3895
URL: https://issues.apache.org/jira/browse/AMQ-3895
Project: ActiveMQ
Issue Type: Bug
Components: stomp
Affects Versions: 5.6.0
Reporter: Timothy Bish
Assignee: Timothy Bish
Priority: Minor
Fix For: 5.7.0
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira