David, Glad I could help! I integrated your final changes (with the Timeout.Inifinite constant) into my codebase as well. Hopefully, they'll be committed to the main code line in a short bit. Thanks for contributing your fixes.
- Jim JIRA [EMAIL PROTECTED] wrote: > > > [ > https://issues.apache.org/activemq/browse/AMQNET-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40175 > ] > > David Holroyd commented on AMQNET-64: > ------------------------------------- > > Jim! Bless you! I was hunting for the bug caused by that semicolon for > over an hour on Sunday. > > So, I've tried running with the attached patch, and my testing shows this > codepath now seems to be working (it has both the fixes you suggested). > >> occasional exception in ActiveMQ.Dispatcher.Dequeue() : >> millisecondsTimeout must be either non-negative and less than or equal to >> Int32.MaxValue or -1. >> > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28AMQNET-64%29-occasional-exception-in-ActiveMQ.Dispatcher.Dequeue%28%29-%3A-millisecondsTimeout-must-be-either-non-negative-and-less-than-or-equal-to-Int32.MaxValue-or--1.-tf4504370s2354.html#a12868304 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.