[
https://issues.apache.org/jira/browse/AMQ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
gaikwaja updated AMQ-3284:
--------------------------
Comment: was deleted
(was: 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)
> WebSockets and truncated body
> -----------------------------
>
> Key: AMQ-3284
> URL: https://issues.apache.org/jira/browse/AMQ-3284
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.5.0
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.6.0
>
>
> In WebSocket transport, StompSocket class calls StompFrame.toString() instead
> StompFrame.format(). Because of this, some frames can be truncated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)