Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4674

ActiveMQ 5.x does not support the notion of a grace-period for heart beats as supported by the STOMP protocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.8.0
    • 5.9.0
    • None

    Description

      Regarding the configuration of heart beating the STOMP protocol spec states:

      "- because of timing inaccuracies, the receiver SHOULD be tolerant and take into account an error margin"

      However, it appears that ActiveMQ 5.x is not tolerant of any error margin.

      Despite the fact that the spec says SHOULD rather than MUST it would make the implementation of STOMP clients easier if the error margin was published.

      As the broker aggressively enforces the heart beat timeouts false failover attempts can result.

      Apparently Apollo supports an error margin of 1.5x the configured heart beat. If it could be made configurable that would be even better!

      Attachments

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              paulgale Paul Gale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: