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

Alan Conway resolved PROTON-1067.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

> python messenger: cannot acknowledge messages, messenger forces auto-ack or 
> pre-settled.
> ----------------------------------------------------------------------------------------
>
>                 Key: PROTON-1067
>                 URL: https://issues.apache.org/jira/browse/PROTON-1067
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.11
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.12.0
>
>         Attachments: recv.py
>
>
> In order to manually acknowledge received messages messenger requires you to:
> 1. set "incoming_window" > 0, otherwise messenger auto-settles all messages.
> 2. set "snd_settled_mode" to SND_UNSETTLED so that the remote end does not 
> pre-settle messages.
> However the python binding (and I think all the bindings) for messenger do 
> not allow you to call  pn_messenger_set_snd_settled_mode, which defaults to 
> SND_SETTLED. Thus it is impossible to manually accept messages because either 
> (with incoming_window==0) messenger auto-settles them or (with 
> incoming_window > 0) messenger's subscribe requests SND_SETTLED on the 
> incoming link so the other end sends pre-settled messages.



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

Reply via email to