[
https://issues.apache.org/jira/browse/QPID-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell closed QPID-2354.
--------------------------------
Resolution: Fixed
Closing out as fixed based on above, but also closing as this relates to the
old ruby client which was removed from the repo, and not the newer ruby
bindings for the C++ messaging API.
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]