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

Stomp protocol heart-beat check should support grace period

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Stomp
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            thezbyg Albertas Vyšniauskas

            Dates

              Created:
              Updated:

              Slack

                Issue deployment