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

Recent OpenWireFormat changes cause initial startup delays

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • ActiveMQ
    • None
    • Windows XP, ActiveMQ 5.2.0 RC2+, latest Apache.NMS and Apache.NMS.ActiveMQ

    • Regression

    Description

      The recent changes to Apache.NMS.ActiveMQ's file OpenWire/OpenWireFormat.cs create massive delays on my system. If I revert that file back to the version 693666 (09-Sep-2008) then all my code starts working without delays. It seems that the action of writing to the bus (using Topics in my case) is delayed 120 seconds or so. Each write seems to be delayed 15 seconds. Since startup involves several writes the initialize the wire format, I suspect that a timeout variable is set to 0 (zero) which does not allow a thread-swap to take place. I suspect that the timeout should be set to 1 ms so that a context switch will take place.

      Attachments

        Activity

          People

            jgomes Jim Gomes
            allan.schrum Allan Schrum
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: