[ 
https://issues.apache.org/jira/browse/PROTON-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15527141#comment-15527141
 ] 

ASF subversion and git services commented on PROTON-1307:
---------------------------------------------------------

Commit 2c438a8554daf4526b9a7f1444fb5389a55bc1bb in qpid-proton's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=2c438a8 ]

PROTON-1307: go binding amqp.message does not honor Inferred flag

Applied fix provided by Richard Laos for typo in the SetInferred method.


> 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 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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to