Zed, The \0 terminator is used if there is *not* a content-length header, it is recommended that a content-length header be used. The primary reason for this is that I *really* want to support telnet and netcat for emergencies and debugging =) That said, please keep the criticism coming, I don't think for a moment that I know everything, and the folks helping with stomp are all merely trying to solve a problem, no one is pushing an agenda (that I am aware of!). I would very much appreciate your further feedback! -Brian On Oct 23, 2005, at 8:31 PM, Zed A. Shaw wrote: > I'm kind of in the process of writing something like this, but if you > want take a look at STOMP and the following: > > http://stomp.codehaus.org/Ruby+Client > > STOMP will then let you talk with several different JMS > implementations > (mostly open source). > > Be careful though, STOMP isn't as well designed as I'd like. For > example, it uses \0 to end the message body, without any way of > escaping the \0. This means you have to base64 things you send if > they > have \0 characters. > > Zed A. Shaw > http://www.zedshaw.com/ > > > On Mon, 24 Oct 2005 12:03:26 +0900 > swille <sillewille / gmail.com> wrote: > > >> Err.. :) Can anyone tell me if there's a MOM for Ruby? Anything like >> JMS? I haven't quite found one in my googling. >> >> Also, and this is a long-shot, is there possibly a workflow engine >> that anyone has stuffed away? >> >> > >