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] [Resolved] (AMQ-3895) Broker sends a STOMP RECEIPT frame although the subscription fails
Date Fri, 22 Jun 2012 15:40:43 GMT

     [ https://issues.apache.org/jira/browse/AMQ-3895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQ-3895.
-------------------------------

    Resolution: Fixed

Fix added to trunk.
                
> 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