Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9957

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: Duplicate
    • Major
    • None
    • jboss-fuse-6.3
    • ActiveMQ
    • None
    • % %
    • Hide

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

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

    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

        Activity

          People

            Unassigned Unassigned
            rhn-support-adongre Avinash Dongre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: