Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.8.0
-
None
-
None
-
Patch Available
Description
According to the STOMP specification, heart beat header sets maximum allowed time between received data packets, however most STOMP clients and servers simply send their heart beat packets at the specified interval.
This causes a small chance of timeout due to packets arriving milliseconds later than expected.
To resolve this issue some STOMP implementations increase the actual time that they wait for packet to arrive (see ActiveMQ grace period section here http://activemq.apache.org/stomp.html).
It would be really nice to have an equivalent option in NMS libraries.