<div dir="ltr">Here is the code: <a href="http://stompcli.googlecode.com/files/stompcli-php5-1.0-20080916.tar.gz">http://stompcli.googlecode.com/files/stompcli-php5-1.0-20080916.tar.gz</a><br><br>Look at lines 516 to 524 in Stomp.php<br>
<br><div class="gmail_quote">On Thu, Sep 18, 2008 at 11:12 AM, Tony Garnock-Jones <span dir="ltr"><<a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Hi Jonatan,<br>
<br>
Jonatan Kallus wrote:<br>
</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
php stomp client doesn't work with the stomp gateway 'out of the box' but it seems like people are using it successfully with ActiveMQ or JMS.<br>
</blockquote>
<br></div>
That's really strange. Could it be something to do with RabbitMQ's use of content-length? AFAIK RabbitMQ is slightly odd in that it always sends a content-length header. The NUL byte in that situation is kind of belt-and-braces.<br>
<br>
If you have a link to the php STOMP client's code, I can take a look to see if I can spot the problem.<br><font color="#888888">
<br>
Tony<br>
<br>
</font></blockquote></div><br></div>