Mike,Currently I am concentrating on getting the RQ tests to run consistently. I'll look into your finding once they do so.
On Fri, May 8, 2009 at 9:16 PM, Mike Nichols <[email protected]>wrote: > > he he...alright...can you just take a moment to read this? I am not > sure if this is a hint on that ObjectDisposedException: > Should_go_to_discard_sub_queue_and_be_able_to_restart_bus hangs > frequently seemingly because the transaction is trying to commit after > the transport was disposed (as well as the queue maanger). > > According to the debug log during this test: > Should_go_to_discard_sub_queue_and_be_able_to_restart_bus looks like > the RQ transport is being disposed just after the call to Discard() is > made and the transaction tries to complete after that. RQManager is > complaining that there is an open transaction while disposing so I did > this in RQTransport during ProcessMessage: > if (TransportUtil.ProcessSingleMessage > (currentMessageInformation, messageRecieved) == false) > { > tx.Dispose(); > tx = null; > Discard(currentMessageInformation.Message); > } > > See that I am disposing the the transaction and nulling it so that the > tx.Complete() call won't be made... I can debug again and again this > test and not getting any ObjectDisposedExceptions but I am not sure > this is legitimate or even makes sense. > > The timing test, Can_send_timed_messages, fails sometimes and passes > others...this is true without my change and I am getting a JET > Currency exception about no current record. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
