You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2011/04/18 13:29:05 UTC

[jira] [Issue Comment Edited] (AMQ-3284) WebSockets and truncated body

    [ https://issues.apache.org/jira/browse/AMQ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020979#comment-13020979 ] 

Dejan Bosanac edited comment on AMQ-3284 at 4/18/11 11:27 AM:
--------------------------------------------------------------

Fixed with svn revision 1094495

      was (Author: dejanb):
    Fixed with svn revision
  
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Issue Comment Edited] (AMQ-3284) WebSockets and truncated body

Posted by gaikwaja <ga...@yahoo.com>.
I am  similar problem as  https://issues.apache.org/jira/browse/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/stom/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()) |



--
View this message in context: http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-3284-WebSockets-and-truncated-body-tp3457257p4691234.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.