activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Ruby STOMP client - TextMessage
Date Wed, 25 Oct 2006 01:26:04 GMT
Hi,

Sounds valid.  Send us the patch.

On 10/24/06, robottaway <rottaway@musiciansfriend.com> wrote:
>
>
> I am using the Ruby STOMP client. I would like the STOMP transport in AMQ
> to
> convert incoming STOMP messages to TextMessage rather than ByteMessage.
> How
> can I do this? I see lots of info on not setting a content-length header.
> The Ruby STOMP client sets this header to the size of the message body
> though, so the content-length header is always set :(
>
> Okay I was writing the above when I decided to just try hacking the
> stomp.rb
> file. I commented out the section where _transmit sets the content-length
> header to the text's size. This worked like a charm! Is this okay to do
> though?
> --
> View this message in context:
> http://www.nabble.com/Ruby-STOMP-client---TextMessage-tf2504913.html#a6983941
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message