Recent OpenWireFormat changes cause initial startup delays
----------------------------------------------------------

                 Key: AMQNET-122
                 URL: https://issues.apache.org/activemq/browse/AMQNET-122
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ Client
         Environment: Windows XP, ActiveMQ 5.2.0 RC2+, latest Apache.NMS and 
Apache.NMS.ActiveMQ
            Reporter: Allan Schrum
            Assignee: Jim Gomes


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to