On Mon, Dec 16, 2013 at 3:11 PM, Fraser Adams <[email protected]
> wrote:

> D'oh......
> OK so I reread your notes around the async python code and noted:
>
>
> "Also, the status is not updated when a message is settled without an
> explicit disposition. I believe this is just a bug. The workaround is to
> set a nonzero incoming window and explicitly accept/reject at the receiver."
>
> that turned out to be more significant than I had realised (slaps head
> very hard with back of hand......) adding
> pn_messenger_set_outgoing_window(messenger, 1024);
> pn_messenger_set_incoming_window(messenger, 1024);
>
> made it work .......
>

FYI, I fixed the bug on trunk (PROTON-478), so you shouldn't need to mess
with the incoming window anymore. Setting up the outgoing window is still
necessary if you want to be notified when messages are actually delivered.
If you didn't care about this you could omit that and modify the example to
not have callbacks on delivery.

--Rafael

Reply via email to