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

Message#reply_to= should auto-wrap the address argument in an Address if the argument is a String

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21
    • Component/s: Ruby Client
    • Labels:
      None

      Description

      It would be nice to be able to write

      message.reply_to = "exchange/subject;

      {...}

      "

      Message#reply_to= currently requires its argument to be an instance of the Address class. It would be nice if it would check the class, and if it's a String, wrap it in an Address automatically.

        Attachments

          Activity

            People

            • Assignee:
              mcpierce Darryl L. Pierce
              Reporter:
              ncdc Andy Goldstein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: