[rabbitmq-discuss] txAMQP Help

Esteve Fernandez esteve at sindominio.net
Fri Sep 19 09:38:27 BST 2008


Hi Dorian, thanks for trying txAMQP!

El Jueves 18 Septiembre 2008 23:52:27 Dorian Raymer escribió:
> Hi,
> I was very excited by the recent thread announcing txAMQP! I heart Twisted!
> I started playing with the
> txamqp_example.py<http://www.nabble.com/attachment/19436045/0/txamqp_exampl
>e.py>posted by Esteve, but I'm having trouble getting going.
>
> I'm a rabbitmq newb (having a lot of fun getting started :) and I have
> experience with Twisted.
>
> I'm running rabbitmq 1.4.0 with the default database.
> When running txamqp_example.py, I used these parameters:
> hostname = "localhost",
> port = 5672,
> vhost = "/",
> username = "guest",
> password = "guest",
> specFile (I tried both amqp.0-8.xml, and 0-9.xml)

Did you use the spec files that were shipped with txAMQP or the official 
ones[1]?

Note that there are interoperability issues between the Qpid Python libraries 
and RabbitMQ. From http://www.rabbitmq.com/interoperability.html:

"Note that the 0-8 spec file that comes with the test suite is different from 
the official spec."

> The Problem (there is no error message to show...):

What's in the rabbit.log file? When I wrote that example, I noticed that 
RabbitMQ couldn't decode the basic.consume frame:

connection <0.202.0> (running), channel 1 - error:
{amqp,frame_error,
      "cannot decode 
<<0,0,12,116,101,115,116,45,113,117,101,117,101,45,49,0,0,0,0,0,0>>",
      'basic.consume'}

however, using the official spec fixed the issue.

Cheers.

1 - http://jira.amqp.org/confluence/display/AMQP/Download




More information about the rabbitmq-discuss mailing list