You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Richard Laos (JIRA)" <ji...@apache.org> on 2016/09/23 22:55:20 UTC

[jira] [Created] (PROTON-1307) go binding amqp.message does not honor Inferred flag

Richard Laos created PROTON-1307:
------------------------------------

             Summary: go binding amqp.message does not honor Inferred flag
                 Key: PROTON-1307
                 URL: https://issues.apache.org/jira/browse/PROTON-1307
             Project: Qpid Proton
          Issue Type: Bug
          Components: go-binding
    Affects Versions: 0.15.0
            Reporter: Richard Laos
            Assignee: Alan Conway
            Priority: Minor


Calling SetInferred() has no effect when sending a message using the go-binding. Also, calling Infferred() against amqp.message does not frelect calls to SetInferred(). Looks like the problem is on line 264 in amqp/message.go. I tested the following change:
{code}
func (m *message) SetInferred(b bool)  { C.pn_message_set_inferred(m.pn, C.bool(b)) }
{code}

Seems to behave as expected afterwards.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org