activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3895) Broker sends a STOMP RECEIPT frame although the subscription fails
Date Fri, 22 Jun 2012 15:08:42 GMT
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

        

Mime
View raw message