Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
5.11.0
-
None
-
None
Description
A similar issueAMQ-3284 appears already as fixed in 5.6 ,has this regressed in 5.11 ?
In WebSocket transport, StompSocket class calls StompFrame.toString() instead StompFrame.format(). Because of this, some frames can be truncated.
I have same problem as https://issues.apache.org/jira/browse/AMQ-3284
I use samples/websocket example ,for connection to the apache-activemq-5.11.0 or 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