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

go binding amqp.message does not honor Inferred flag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • proton-0.15.0
    • proton-0.15.0
    • go-binding
    • None

    Description

      Calling SetInferred() has no effect when sending a message using the go-binding. Also, calling Inferred() against amqp.message does not reflect calls to SetInferred(). Looks like the problem is on line 264 in amqp/message.go. I tested the following change:

      func (m *message) SetInferred(b bool)  { C.pn_message_set_inferred(m.pn, C.bool(b)) }
      

      Seems to behave as expected afterwards.

      Attachments

        Activity

          People

            aconway Alan Conway
            rilaos75@gmail.com Richard Laos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: