When using messenger in non-blocking mode, it is possible to ensure that the
empty frame heartbeats are sent by calling pn_messenger_work(timeout) on a
regular interval (when no other send / recv operations are happening).

However, when using messenger in blocking mode it is not obvious how one
should achieve this without optional timeout arguments on all the calls?

For example, both pn_messenger_send and pn_messenger_recv accept limits of
the number of messages to send and receive during the block, but no option
for a timeout on these.

View this message in context: 
Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Reply via email to