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-subscr...@qpid.apache.org

Reply via email to