[
https://issues.apache.org/jira/browse/AMQ-7125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731633#comment-16731633
]
ASF GitHub Bot commented on AMQ-7125:
-------------------------------------
GitHub user avi5kdonrh opened a pull request:
https://github.com/apache/activemq/pull/334
AMQ-7125 Stomp subscribe empty destination fix
Fix for: The Broker does not send error frame when an empty destination is
specified in a stomp subscribe frame
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/avi5kdonrh/activemq master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/334.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #334
----
commit a29bf734621eba080eadc63cdf7778c098158704
Author: avi5kdon <avi5kdon@...>
Date: 2019-01-01T16:19:25Z
AMQ-7125 Broker does not send error frame when an empty destination is sent
with a stomp subscribe frame
----
> AMQ broker does not send the error frame back to the websocket client when an
> empty destination is sent with a stomp subscribe frame
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-7125
> URL: https://issues.apache.org/jira/browse/AMQ-7125
> Project: ActiveMQ
> Issue Type: Bug
> Components: stomp
> Affects Versions: 5.15.8
> Reporter: Avinash Dongre
> Priority: Major
>
> AMQ broker does not send the error frame back to the WebSocket client when an
> empty destination is sent with a stomp subscribe frame. Only the connection
> is terminated.
> As per stomp specification:
> "If the server cannot successfully create the subscription, the server MUST
> send the client an ERROR frame and disconnect the client."
> [https://stomp.github.io/stomp-specification-1.1.html#SUBSCRIBE]
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)