Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-559

Stomp protocol heart-beat check should support grace period

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: Stomp
    • Labels:
      None
    • Patch Info:
      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.

        Attachments

        1. heartbeat-grace.patch
          5 kB
          Albertas Vyšniauskas

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thezbyg Albertas Vyšniauskas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: