alexandrratush / as3-stomp

AS3 Stomp library, forked from https://code.google.com/p/as3-stomp/
5 stars 1 forks source link

Non-Stomp clients not receiving messages when working with ActiveMQ #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the AS3 Stomp client always sends a content-length header with
every frame.  ActiveMQ keys off the the inclusion of this header to
determine if the message should be a TextMessage or a BytesMessage.  See
this page for more details: http://activemq.apache.org/stomp.html

It appears that some clients cannot receive BytesMessages. When the
content-length header is removed they successfully receive the messages
from the AS3 client, when it is included they do not.

Original issue reported on code.google.com by dwischu...@gmail.com on 2 Sep 2007 at 9:40

GoogleCodeExporter commented 9 years ago

Original comment by dwischu...@gmail.com on 25 Jan 2008 at 3:24

GoogleCodeExporter commented 9 years ago
added a bytesMessage parameter to the send method.  If bytesMessage is set to 
true,
the content-length header will be included in the message.  If bytesMessage is 
false
the content-length header will not be included.  The default is true.

Original comment by dwischu...@gmail.com on 26 Jan 2008 at 7:58