qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Barisani (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-2354) ruby client exchange declaration doesn't allow 'type' argument
Date Thu, 21 Jan 2010 13:44:54 GMT
ruby client exchange declaration doesn't allow 'type' argument
--------------------------------------------------------------

                 Key: QPID-2354
                 URL: https://issues.apache.org/jira/browse/QPID-2354
             Project: Qpid
          Issue Type: Bug
          Components: Ruby Client
    Affects Versions: 0.5
         Environment: Ubuntu/Qpid-0.5
            Reporter: Andrea Barisani


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 (very nasty
though) and everything works (confirming that the attribute is actually honoured).

Cheers

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message