On 09/08/2012 02:43 AM, Christopher Lee wrote:
Hi,

I am trying to connect a the qpid 0.18 client with RabbitMQ, and I am
getting a VersionError because the qpid client is talking amqp 0.10
and the RabbitMQ broker is listening 0.9.1.

According to the docs, qpid is compatible.  However, it looks
suspiciously like the entire API that I implemented only works with
0.10.  (I used the qpid.messaging.Connection, Session, Sender
classes.)

That is correct, I'm afraid. The messaging API only has an 0-10 implementation at present. Older versions of the protocol were supported by an older API.

 I see a qpid.Client class that looks like it supports the
other specs, but I don't see any documentation or hooks for it.
>
The reason I am looking to qpid is to use the fairly robust looking
auto-reconnect features of the client, but they only seem available in
the qpid.messaging.Connection class, which does not support 0.9.1.  Is
that correct?

Yes, that is correct. The auto-reconnect feature is only implemented in the messaging API.

 Or is there a way to pass a spec in that I am missing?

I also can't find any documentation or examples for the older API.
Where might I find them?

The examples for the old api are no longer shipped with python, but you can get them from an old release branch, e.g. http://svn.apache.org/viewvc/qpid/branches/0.5-release/qpid/python/examples/

There is some pydoc in the source for that API also, though as I recall much of it comes from the text of the spec in use.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to