[ 
https://issues.apache.org/jira/browse/PROTON-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Conway resolved PROTON-1307.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0

Well spotted, thanks for the fix.

> 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
>             Fix For: 0.15.0
>
>
> 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:
> {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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to