Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2261

AMQ broker does not send the error frame back to the websocket client when an empty destination is sent with a stomp subscribe frame

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBoss A-MQ 6.3.x
    • JBoss A-MQ 6.3
    • None
    • None
    • +
    • Hide

      1. Start the STOMP enabled AMQ broker.
      2. Connect using a websocket client.
      3. Subscribe with an empty destination.

      Tested with R10

      Show
      1. Start the STOMP enabled AMQ broker. 2. Connect using a websocket client. 3. Subscribe with an empty destination. Tested with R10

    Description

      Broker does not send the error frame back to the client when subscribed with an empty destination. The websocket connection is closed and the following logs appear on the broker side:

      2018-12-14 18:31:58,131 | WARN  | tp1489041395-118 | Transport| ivemq.broker.TransportConnection  233 | 162 - 	org.apache.activemq.activemq-osgi - 5.11.0.redhat-630347 | Transport Connection to: ws://127.0.0.1:40842 failed: java.io.IOException: Invalid destination name: a non-empty name is required
      
      2018-12-14 18:31:58,141 | INFO  | tp1489041395-119 | StompSocket| .transport.ws.jetty9.StompSocket   67 | 162 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630347 | Stomp WebSocket closed: code[1000] message[null]
      

      Expectations
      Websocket client should receive an error frame in such case.

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              rhn-support-adongre Avinash Dongre
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: