[rabbitmq-discuss] Stomp frame not terminated with null character

Jonatan Kallus jonatan at heysan.com
Thu Sep 18 19:28:41 BST 2008


Here is the code:
http://stompcli.googlecode.com/files/stompcli-php5-1.0-20080916.tar.gz

Look at lines 516 to 524 in Stomp.php

On Thu, Sep 18, 2008 at 11:12 AM, Tony Garnock-Jones <tonyg at lshift.net>wrote:

> Hi Jonatan,
>
> Jonatan Kallus wrote:
>
>> 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.
>>
>
> 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.
>
> 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.
>
> Tony
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20080918/f708d50a/attachment.htm 


More information about the rabbitmq-discuss mailing list