Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2354

ruby client exchange declaration doesn't allow 'type' argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.6
    • Ruby Client
    • None
    • Ubuntu/Qpid-0.5

    Description

      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

      Attachments

        Activity

          People

            rhs Rafael H. Schloming
            lcars Andrea Barisani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: