Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-278

Messenger - allow the application to control the use of the message reply-to field.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.6
    • Component/s: proton-c
    • Labels:

      Description

      Currently, messenger always sets the reply-to field in a sent message.

      This should be changed to allow the application to set the reply-to field only when a reply is desired. Messenger should be changed to not unconditionally set this field.

      In order to set this field in the case of a client that has not established a subscription, the client needs to be able to query messenger for the proper value of the reply-to address. A new api would need to be created for this. Proposal:

      int pn_messenger_set_reply( pn_messenger_t *msgr, pn_message_t *msg )

      Set the proper reply-to address in msg. msg would need to have its "to" address configured in order for this method to succeed.

      At least, I think the value for the reply-to may depend on the 'to' address... I may be wrong about that....

      Opinions?

        Attachments

          Activity

            People

            • Assignee:
              rhs Rafael H. Schloming
              Reporter:
              kgiusti Ken Giusti
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: