Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-230

Default timeout for OpenWire inactivity is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • apollo-openwire
    • None

    Description

      I think (based on what ActiveMQ has as its defaults) that the max_inactivity_duration and max_inactivity_duration_initial_delay default values might be incorrect. ActiveMQ has them at 30s:
      From: OpenWireFormatFactory:
      private long maxInactivityDuration = 30*1000;
      private long maxInactivityDurationInitalDelay = 10*1000;

      But Apollo has them set for 8.33 hrs:
      DEFAULT_WIREFORMAT_SETTINGS.setMaxInactivityDuration(30 * 1000 * 1000);
      DEFAULT_WIREFORMAT_SETTINGS.setMaxInactivityDurationInitalDelay(10 * 1000 * 1000);

      Patch is easy, can submit it, but just wanted to confirm that this is indeed wrong?

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            ceposta Christian Posta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: