ffang opened a new pull request, #3546:
URL: https://github.com/apache/cxf/pull/3546

   …order
   
   java.util.Timer does not run tasks scheduled for the same time in scheduling 
order. When two messages of a sequence are cached within the same millisecond, 
the resend of the later one could run first. With in-order delivery the 
destination holds that message back until the earlier one arrives, so the 
resend blocks the resend thread (the timer thread with the SynchronousExecutor) 
until the receive timeout, and the earlier message is not resent in the 
meantime.
   
   When a resend task fires, first resend any earlier message of the same 
sequence that is due no later than it and not pending or suspended, in message 
number order, cancelling its own scheduled task. Resend times are unchanged.
   
   This made the in-order one-way tests in systests/ws-rm 
(DeliveryAssuranceOnewayTest, MessageCallbackOnewayTest) time out on fast 
machines.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to