Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.0
    • Component/s: None
    • Labels:
      None

      Description

      In WebSocket transport, StompSocket class calls StompFrame.toString() instead StompFrame.format(). Because of this, some frames can be truncated.

        Issue Links

          Activity

          Dejan Bosanac created issue -
          Hide
          Dejan Bosanac added a comment - - edited

          Fixed with svn revision 1094495

          Show
          Dejan Bosanac added a comment - - edited Fixed with svn revision 1094495
          Dejan Bosanac made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gary Tully made changes -
          Fix Version/s 5.6.0 [ 12317974 ]
          Fix Version/s 5.x [ 12316331 ]
          Gary Tully made changes -
          Link This issue is duplicated by AMQ-3794 [ AMQ-3794 ]
          gaikwaja made changes -
          Link This issue is a clone of AMQ-5572 [ AMQ-5572 ]
          gaikwaja made changes -
          Comment [ I have same problem as AMQ-3284
          I use samples/websocket example ,for connection to the apollo(1.7.1) broker,and sending message to the queue using websockets.
          On the other end is a cpp(3.8.3) client consumer listening on that queue.(from examples/stomp/cpp)
          My cpp consumer is able to receive the message but the Body of message is NilContent i.e truncated completely
          This jira has been marked as fixed in 5.6,is it possible it has regressed in latest release or apollo 1.7.1?

          STOMP LOGS :

          2015-02-09 03:07:00,575 | TRACE | received frame: StompFrame(SEND,List((destination,/topic/test), (content-length,41)),BufferContent(ascii: this is test message over websocket stomp),true,List()) |
          2015-02-09 03:07:00,575 | DEBUG | producer route attaching to consumer. |
          2015-02-09 03:07:00,575 | DEBUG | producer route attaching to consumer. |
          2015-02-09 03:07:00,575 | DEBUG | producer route attaching to consumer. |
          2015-02-09 03:07:00,576 | TRACE | sending frame: StompFrame(MESSAGE,List((destination,/topic/test), (content-length,41)),BufferContent(ascii: this is test message over websocket stomp),true,List((subscription,ID:mylpadeci10-57515-1423451149856-0:0:1:1), (message-id,hw-1e2))) |
          2015-02-09 03:07:00,576 | TRACE | sending frame: StompFrame(MESSAGE,List((destination,/topic/test), (content-length,41)),BufferContent(ascii: this is test message over websocket stomp),true,List((subscription,sub-0), (message-id,hw-1e2))) |
          2015-02-09 03:07:00,576 | TRACE | received frame: StompFrame(ACK,List((message-id,hw-1e2)),NilContent,true,List()) |


          P.S
          I have also tried the same with apache-activemq-5.11.0 and verified that the issue exists there as well ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          2m 9s 1 Dejan Bosanac 18/Apr/11 12:27

            People

            • Assignee:
              Dejan Bosanac
              Reporter:
              Dejan Bosanac
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development