<feed xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
    <title>MSMQ from the plumber's mate</title>
    <link rel="self" type="application/xml" href="http://geekswithblogs.net/Plumbersmate/Atom.aspx" />
    <subtitle type="html"> MSMQ is part of your business' IT plumbing which makes you the plumber and I'm your mate. </subtitle>
    <id>http://geekswithblogs.net/Plumbersmate/Default.aspx</id>
    <author>
        <name>John Breakwell</name>
        <uri>http://geekswithblogs.net/Plumbersmate/Default.aspx</uri>
    </author>
    <generator uri="http://subtextproject.com" version="Subtext Version 0.0.0.0">Subtext</generator>
    <updated>2012-10-05T23:20:00Z</updated>
    <entry>
        <title>An MSMQ Viewer for NServiceBus</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/10/05/an-msmq-viewer-for-nservicebus.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/10/05/an-msmq-viewer-for-nservicebus.aspx</id>
        <published>2012-10-05T23:20:0001:00:00</published>
        <updated>2012-10-05T23:20:00Z</updated>
        <content type="html">&lt;p&gt;&lt;a href="http://www.halan.se/" target="_blank"&gt;Daniel Halan&lt;/a&gt; has developed an MSMQ Viewer for NServiceBus:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;I've lately been working with a scalable cloud solution, and then it's good to use a Service Bus for sending commands, events and messages around the network. Now I tried few MSMQ message viewers that are available, but they all lacked the real-time feedback that would be nice when debugging or just want to know what is happening behind the scenes. So from that a new small application grew, called "ServiceBus MQ Manager". It's a small application that will monitor queues with a set interval, and present the Events, Commands and Messages that are there, but also keeping messages that has been retrieved (deleted) from the Queue.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;which you can download through a link on his &lt;a href="http://blog.halan.se/post/A-MSMQ-Viewer-for-NServiceBus.aspx" target="_blank"&gt;blog&lt;/a&gt;. &lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/151354.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/151354.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/151354.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/151354.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Default configuration of MSMQ MP causes event flooding.</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/11/24/default-configuration-of-msmq-mp-causes-event-flooding.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/11/24/default-configuration-of-msmq-mp-causes-event-flooding.aspx</id>
        <published>2012-11-24T23:13:0000:00:00</published>
        <updated>2012-11-24T23:13:00Z</updated>
        <content type="html">&lt;p&gt;Vedran Matica has blogged about the “&lt;a href="http://gefufna.wordpress.com/2012/11/24/improper-default-configuration-of-the-message-queuing-management-pack-for-operations-manager/" target="_blank"&gt;Improper default configuration of the Message Queuing Management Pack for Operations Manager&lt;/a&gt;” which caused event flooding. &lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/151353.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/151353.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/151353.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/151353.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Don't let clueless techies harden your MSMQ server</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/10/30/donrsquot-let-clueless-techies-harden-your-msmq-server.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/10/30/donrsquot-let-clueless-techies-harden-your-msmq-server.aspx</id>
        <published>2012-10-30T21:51:4900:00:00</published>
        <updated>2012-10-30T21:54:32Z</updated>
        <content type="html">&lt;p&gt;As discovered by Gautam Mansinghka:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/gautamm/archive/2012/10/30/msmq-service-reports-quot-insufficient-resources-to-perform-this-operation-quot-when-trying-to-create-a-private-queue.aspx?CommentPosted=true#commentmessage" target="_blank"&gt;MSMQ Service Reports "Insufficient Resources to perform this operation" when trying to create a Private Queue&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;don’t let people change the MSMQ storage directory default security.&lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/151135.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/151135.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/151135.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/151135.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Windows 8&amp;ndash;UI improvements with file copies across the network</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/03/11/windows-8ndashui-improvements-with-file-copies-across-the-network.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/03/11/windows-8ndashui-improvements-with-file-copies-across-the-network.aspx</id>
        <published>2012-03-11T23:09:1200:00:00</published>
        <updated>2012-03-11T23:31:48Z</updated>
        <content type="html">&lt;p&gt;I’m frequently impressed by the additions and changes to Windows as I spend more time on the Windows 8 Consumer Preview.&lt;/p&gt;  &lt;p&gt;Here, for example, is how a the progress is now shown for a copy across my home network.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/9d13fedc4169_143C5/image_2.png"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/9d13fedc4169_143C5/image_thumb.png" width="637" height="408" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I &lt;em&gt;think&lt;/em&gt; this is demonstrating to me how the destination is not able to keep up with the flow. I’m now intrigued to see if there is anything I need to do to improve performance.&lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/148962.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/148962.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/148962.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/148962.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Solution for when you can&amp;rsquo;t manage a clustered MSMQ resource</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/02/09/solution-for-when-you-canrsquot-manage-a-clustered-msmq-resource.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/02/09/solution-for-when-you-canrsquot-manage-a-clustered-msmq-resource.aspx</id>
        <published>2012-02-09T21:44:1300:00:00</published>
        <updated>2012-02-09T21:44:13Z</updated>
        <content type="html">&lt;p&gt;And third for the day from Guatam is a problem managing MSMQ on a cluster.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/b/gautamm/archive/2012/02/09/msmq-management-console-on-win2k8-amp-win2k8-r2-cluster-not-visible.aspx" target="_blank"&gt;MSMQ Management console on Win2k8 &amp;amp; WIn2k8 R2 Cluster not Visible&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Seems that the MSMQ service on the physical node needs to run under Network Service. &lt;/p&gt;  &lt;p&gt;Must set up a virtual cluster to test that out…&lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/148651.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/148651.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/148651.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/148651.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Up the cache with many concurrent MSMQ clients</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/02/09/up-the-cache-with-many-concurrent-msmq-clients.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/02/09/up-the-cache-with-many-concurrent-msmq-clients.aspx</id>
        <published>2012-02-09T21:10:2900:00:00</published>
        <updated>2012-02-09T22:29:57Z</updated>
        <content type="html">&lt;p&gt;Another blog post from Guatam highlights the need to scale up some MSMQ parameters when there are many clients.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/b/gautamm/archive/2012/02/09/msmq-4-amp-5-not-receiving-messages-from-large-number-of-clients.aspx" target="_blank"&gt;MSMQ 4 &amp;amp; 5 not receiving messages from Large Number of Clients&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;To improve performance, MSMQ caches user account information to reduce the overhead from checking if the sender of a message has adequate permissions to access a queue. &lt;/p&gt;  &lt;p&gt;As with most caches, the size is fixed and old data is purged when there is no room left. Unfortunately, there is a potential situation where the clean-up process fails which prevents new clients from delivering messages.&lt;/p&gt;  &lt;p&gt;To get round this blocker, make sure the cache is large enough to accommodate all possible users of the MSMQ system without needed to clean up.&lt;/p&gt;  &lt;p&gt;This is done through the &lt;a href="http://technet.microsoft.com/en-us/library/cc957517.aspx" target="_blank"&gt;HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\UserCacheSize&lt;/a&gt; registry value (default is 253; maximum is 4 billion).&lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/148649.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/148649.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/148649.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/148649.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Look out for large LQS files</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/02/09/look-out-for-large-lqs-files.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/02/09/look-out-for-large-lqs-files.aspx</id>
        <published>2012-02-09T20:40:0600:00:00</published>
        <updated>2012-02-09T20:41:01Z</updated>
        <content type="html">&lt;p&gt;It’s good to see my ex-colleague Guatam putting out some MSMQ content after a 10 month hiatus.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/b/gautamm/archive/2012/02/09/msmq-performance-degrades-over-time-amp-msmq-lqs-folder-is-100s-of-mb.aspx" target="_blank"&gt;MSMQ Performance degrades over time &amp;amp; MSMQ LQS folder is 100s of MB.&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;The files in the %windir%\system32\msmq\storage\lqs folder are configuration files for the machine’s queues, or cached configuration information in the case of public queues.&lt;/p&gt;  &lt;p&gt;Inside these text files is a collection of parameters, such as “Label”, “QueueName” and “PrivLevel”. The largest value is the “Security” parameter which contains the access permissions on the queue.&lt;/p&gt;  &lt;p&gt;Guatam reports that sometimes this value can get out of hand, leading to larger and larger configuration files that are too big to be easily read. &lt;/p&gt;  &lt;p&gt;One workaround is to delete and recreate the affected queues. Also disable inheritance and apply security permissions directly. &lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/148648.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/148648.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/148648.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/148648.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Make sure computer names are 15 characters or less for MSMQ messages to get delivered</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/02/03/make-sure-computer-names-are-15-characters-or-less-fro.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/02/03/make-sure-computer-names-are-15-characters-or-less-fro.aspx</id>
        <published>2012-02-03T22:01:1100:00:00</published>
        <updated>2012-02-04T13:08:59Z</updated>
        <content type="html">&lt;p&gt;Thanks to &lt;a href="&amp;quot;https://twitter.com/seifattar"&gt;Seif Attar&lt;/a&gt; for highlighting this &lt;a&gt;problem.&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;It seems MSMQ doesn’t like sending to computers with names longer than 15 characters (which some may remember is the NetBIOS limitation).&lt;/p&gt;  &lt;p&gt;To try it out, I created a queue on a Windows XP machine with a computer name of VeryLongMSMQServer and sent off some test messages to&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;DIRECT=os:verylongmsmqserver\private$\txqueue&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I requested acknowledgements so I could see any errors and wasn’t disappointed:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/8944546f1097_130DA/image_8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/8944546f1097_130DA/image_thumb_3.png" width="425" height="470" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As soon as I renamed the machine to ShortMSMQServer, restarted and sent new messages to &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;DIRECT=os:shortmsmqserver\private$\txqueue&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;the problem disappeared:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/8944546f1097_130DA/image_10.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/8944546f1097_130DA/image_thumb_4.png" width="424" height="468" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The messages are delivered to the destination’s queue manager in both cases but are rejected when the machine name is too long.&lt;/p&gt;  &lt;p&gt;My suspicion is that this is a NetBIOS limitation. When I initially changed the machines computer name to one that was too long, Windows XP complained “The NetBIOS name of the computer is limited to 15 bytes. The NetBIOS name will be shortened to “VERYLONGMSMQSER”.:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/8944546f1097_130DA/image_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://gwb.blob.core.windows.net/plumbersmate/Windows-Live-Writer/8944546f1097_130DA/image_thumb.png" width="427" height="83" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I did try enabling the IgnoreOSNameValidation registry value in case that would help but no luck.&lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/148583.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/148583.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/148583.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/148583.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Starting to look out for any news on MSMQ and Windows 8</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/01/25/starting-to-look-out-for-any-news-on-msmq-and.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/01/25/starting-to-look-out-for-any-news-on-msmq-and.aspx</id>
        <published>2012-01-25T19:41:1000:00:00</published>
        <updated>2012-01-25T19:41:10Z</updated>
        <content type="html">&lt;p&gt;Udi Dahan briefly chats about MSMQ on &lt;a href="http://www.udidahan.com/2011/12/26/msmq-info/" target="_blank"&gt;his blog&lt;/a&gt; and provides a useful link: &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Microsoft has put MSMQ in the Developer Preview of Server 8 (as Brian Buvinghausen has written &lt;a href="http://www.buvinghausen.com/?p=16"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;here&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;).&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;There’s good news on Brian’s blog:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“Finally! Microsoft added MSMQ to Server Core in Windows Server 8”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So it will be interesting to see how they got round the limitations of previous versions of Windows Server Core.&lt;/p&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/148486.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/148486.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/148486.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/148486.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Example of using TransactionScopeOption.Suppress with transactional messages</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/Plumbersmate/archive/2012/01/23/example-of-using-transactionscopeoption.suppress-with-transactional-messages.aspx" />
        <id>http://geekswithblogs.net/Plumbersmate/archive/2012/01/23/example-of-using-transactionscopeoption.suppress-with-transactional-messages.aspx</id>
        <published>2012-01-23T19:29:0900:00:00</published>
        <updated>2012-01-23T19:29:09Z</updated>
        <content type="html">&lt;p&gt;&lt;a href="http://www.avenue80.com/author/john/"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;John Talarico&lt;/font&gt;&lt;/u&gt;&lt;/a&gt; shares a few lines of code to explain how he used &lt;strong&gt;TransactionScopeOption.Suppress&lt;/strong&gt; to allow transaction messages to be sent within, but independent of, an ambient transaction.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://www.avenue80.com/transactional-logging-outside-of-transactions/"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;Transactional logging outside of transactions&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;I’ve constructed a central logging system for a solution that involves routing and processing messages on multiple private queues (MSMQ) using WCF. Within a contract method of a WCF service, I do some logging.&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://geekswithblogs.net/Plumbersmate/aggbug/148452.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/Plumbersmate/comments/148452.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/Plumbersmate/comments/commentRss/148452.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/Plumbersmate/services/trackbacks/148452.aspx</trackback:ping>
    </entry>
</feed>