Andrea,

I've been maintaining the ruby client code though I must admit that I'm not a true rubyist :). I would welcome any contributions you would like to make. Please set up an account on the Jira (http://issues.apache.org/jira/browse/qpid) so you can report issues and submit changes as code patches. If you have questions about the process, please don't hesitate to ask.

Regards,

-Ted


On 01/12/2010 01:39 PM, Andrea Barisani wrote:
Hi,

I'd like to report an issue with the ruby-qpid client, version 0.5. Due to
the way function arguments are treated/overrided in the driver it is
currently impossible to issue the following command:

session.exchange_declare(name, :type =>  'fanout')

as the :type variable is shadowed within qpid/datatypes.rb struct method.

A quick workaround is changing the xml spec with a different name (nasty
though) and everything works.

I tried to fix the driver but the fact that it's a python port doesn't help
the rubyist in me ;), the code is hard follow and I'd rather not mess it up.

As I know ruby fairly well though I'd be happy to help the maintainer in any
way I can.

Additionally I also wonder the meaning of the following statements in
lib/qpid/spec010.rb :

# XXX: workaround for ruby bug/missfeature
Reference = Reference
Loader = Loader

This doesn't look right, it seems to me that whatever issue triggered this
fixed it can be done "properly".

Anyway thanks a *lot* to the author of this plugins as it's the only piece of
ruby software which allows us to use AMQP 0-10 :).

Cheers!



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to