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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: Ruby Client
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: