You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Marcel Meulemans <m....@tkhinnovations.com> on 2014/08/10 20:46:18 UTC

Idle timeout in proton-j

Hi,

Support for idle timeout and the sending of heartbeat messages (as in
proton-c) seems to be missing from proton-j. As I have a need for it I
would like to look into adding it. Are there any ideas floating around as
to where this functionality should go?

- Sending and receiving idle timeout values seems straight forward: extend
the Transport interface and some code to the processing of the Open frame.
- Ability for send empty frames also: some code for handling null frame
body in FrameWriter.
- Waking in order to send a heartbeat frame same: calculate timeout in in
engine doWait.
- Logic for sending an empty frame: ??? ... seems like this should go
somewhere in TransportImpl, but where?

-- 
Marcel