[rabbitmq-discuss] python stomp examples

Ben Hood 0x6e6562 at gmail.com
Thu Sep 11 12:21:38 BST 2008


On Thu, Sep 11, 2008 at 9:58 AM, Jason Briggs <jasonrbriggs at gmail.com> wrote:
> Hi All
> Rather late to the party, but I thought I'd let you know I've found out what
> the problem was with stomp.py. Two problems actually:
> 1.  the user/passcode headers weren't being issued with the connect (dumb
> omission on my part)
> 2.  the stomp protocol is a bit ambiguous about the use of spacing between
> header key and value.  For example:
>      header: value
>      header:value
> Both forms are used in the stomp protocol examples.  My version of the
> client used a space -- it appears RabbitMQ doesn't like it.  I've removed
> the space, and along with the prior fix it appears to work properly now (the
> latest version is on my site).

Thanks for looking into this. So now we know that stompy works with
the Rabbit STOMP adapter.

I can't say anything about the correctness of the protocol usage,
maybe Tony or somebody with more STOMP experience can comment on this.


More information about the rabbitmq-discuss mailing list