Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
proton-0.15.0
-
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.