Here is the matrix of what versions AMQP versions Qpid supports
http://qpid.apache.org/download.html
for python, you need to load the spec file for the version broker you
want to talk to. The python
client can talk all versions of AMQP except 0-9-1
Carl.
mARK bLOORE wrote:
i am trying to connect to a RabbitMQ (AMQP 0.8) server, with username
and password. taking code from the 'hello-world' example, i do
sock = connect(broker, port)
conn = Connection(sock, qpid.spec.load("qpid-0.5/specs/amqp.0-8.xml"),
username=user, password=password)
and get
AttributeError: Spec instance has no attribute '__getitem__'
from delegates.py line 34. i note that the traceback includes
connection.py, rather than connection08.py, if that matters.
i have also tried using a different approach, with a Client object,
following code shown at
http://www.balisage.net/Proceedings/html/2008/Robie01/Balisage2008-Robie01.html,
but that produces different errors, which make me think that it is
only good for 0.10.
can anyone tell me how to connect Qpid 0.5 to an AMQP 0.8 server?
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]