﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Michael McDaniel commented on MessageQueue trouble continues</title><description>I also had weird problems with MSMQ, but the problems only happened when I was using the async functions/events.  I found them to be pretty unreliable - especially when failures occured.  Things would just stop working - no reason, no exception, the thread would simply die.  It was so inconsistent, that I ended up just polling on my own threads.  
</description><link>http://ayende.com/3832/messagequeue-trouble-continues#comment6</link><guid>http://ayende.com/3832/messagequeue-trouble-continues#comment6</guid><pubDate>Mon, 26 Jan 2009 15:35:10 GMT</pubDate></item><item><title>Anon commented on MessageQueue trouble continues</title><description>It's not good practice to reuse an object after it's disposed, right? I'm sure examples like this exist all over the BCL; especially cases where one is using BeginXXX after disposal.
</description><link>http://ayende.com/3832/messagequeue-trouble-continues#comment5</link><guid>http://ayende.com/3832/messagequeue-trouble-continues#comment5</guid><pubDate>Sun, 25 Jan 2009 20:44:31 GMT</pubDate></item><item><title>Ayende Rahien commented on MessageQueue trouble continues</title><description>The queue.Dispose()
</description><link>http://ayende.com/3832/messagequeue-trouble-continues#comment4</link><guid>http://ayende.com/3832/messagequeue-trouble-continues#comment4</guid><pubDate>Sun, 25 Jan 2009 16:58:49 GMT</pubDate></item><item><title>configurator commented on MessageQueue trouble continues</title><description>Erm, according to MSDN,
  
  
BeginPeek() Initiates an asynchronous peek operation that has no time-out. The operation is not complete until a message becomes available in the queue.
  
  
So when there are no messages, the peek would never complete. What am I missing?
</description><link>http://ayende.com/3832/messagequeue-trouble-continues#comment3</link><guid>http://ayende.com/3832/messagequeue-trouble-continues#comment3</guid><pubDate>Sun, 25 Jan 2009 14:50:52 GMT</pubDate></item><item><title>Kim commented on MessageQueue trouble continues</title><description>sorry, missed to the comment about "messages in queue2". Too late... Same result as you.
</description><link>http://ayende.com/3832/messagequeue-trouble-continues#comment2</link><guid>http://ayende.com/3832/messagequeue-trouble-continues#comment2</guid><pubDate>Sun, 25 Jan 2009 01:30:44 GMT</pubDate></item><item><title>Kim commented on MessageQueue trouble continues</title><description>With identical code I get 
  
  
test_queue2
  
CompletedSynchronously: False
  
IsCompleted: False
  
Wait completed : False
  
  
test_queue
  
CompletedSynchronously: False
  
IsCompleted: False
  
Wait completed : False
  
</description><link>http://ayende.com/3832/messagequeue-trouble-continues#comment1</link><guid>http://ayende.com/3832/messagequeue-trouble-continues#comment1</guid><pubDate>Sun, 25 Jan 2009 01:25:37 GMT</pubDate></item></channel></rss>