On 17/06/2020 6:04 pm, Adrian Florea wrote:
Hi,
Any idea is welcome on this one.
I am trying to send messages (via a sender link) at various moments in the
life of a program. I am using pn_message_send.
I have set the outgoing window size to 1, on the session.
The current behavior is:
1. pn_message_send completes OK
2. nothing is actually sent
3. after a while (I guess this is where I miss something) I see that the
proactor gets an event of type PN_TRANSPORT and I can see all messages
being really sent.
Is there a way to achieve a "send immediate" behavior ?
When a message send is invoked, I need it to really go out.
many thanks for pointing me in the right direction,
The proton api is an event based one. The pn_message_send call is
asynchronous. You need to ensure the eventloop has the thread of control
for it to be able to act on the request to send.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org