Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3794

The body of StompFrame is truncated to 64 chars

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 5.5.1
    • None
    • STOMP
    • None
    • Any

    • Patch Available

    Description

      The method

      org.apache.activemq.transport.ws.StompSocket.java
      public void sendToStomp(StompFrame command) throws IOException {
         outbound.sendMessage(WebSocket.SENTINEL_FRAME, command.toString());
      }
      

      calls toString() method of the StompFrame instance instead of the format() method. The message body is truncated by the toString() to 64 chars.

      Attachments

        1. patch.diff
          0.6 kB
          Slava Schmidt

        Issue Links

          Activity

            People

              Unassigned Unassigned
              slavaschmidt@gmx.de Slava Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: