Motley Queüe

Queuing At Microsoft

  • Motley Queüe

    MSMQ and WCF: Getting Started

    • 1 Comments
    Windows Communication Foundation (WCF) provides a powerful programming model to develop service-oriented applications. MSMQ integrates very well with WCF so queued applications can be developed using WCF. WCF provides two bindings that support MSMQ -...
  • Motley Queüe

    Unattended MSMQ installation on Windows Vista

    • 2 Comments
    Edited on 4/11/2008 to corrected the build numbers in the examples. The correct build number is 6.0.6000.16386. Vista introduces a new tool for installing and removing Optional Components, called OCSetup.exe. For those of you familiar with Package...
  • Motley Queüe

    JMS and MSMQ interoperability

    • 1 Comments
    I have come across this question of whether JMS and MSMQ are interoperabe a number of times and so I decided to address it. Microsoft does not have a JMS provider for MSMQ so basically you will need to use a third party product or implement your own JMS...
  • Motley Queüe

    Automate Your MSMQ Installation

    • 4 Comments
    Two New Operating Systems Bring Two New, Exciting Ways to Install (or Uninstall) MSMQ This week we talk about automated installation (and new in Vista and Windows Server 2008, uninstallation) of MSMQ via unattend files. The Optional Component setup...
  • Motley Queüe

    System.Messaging versus WCF Queuing

    • 5 Comments
    Should your app be using System.Messaging or WCF Queuing ? We’ve all seen these kind of technology comparisons before — someone extols the virtues of two solutions, highlights the pros and cons in certain situations, and ultimately answers the comparison...
  • Motley Queüe

    MSMQ 4.0 Performance Counters and the NetNameForPerfCounters Registry Key

    • 1 Comments
    MSMQ provides several sets of performance counters which query the state of the service and other objects (sessions, queues, etc.) and can be used in various monitoring systems. There are a few KB articles and blog entries explaining things you need to...
  • Motley Queüe

    A Preview of Windows Server 2008 MSMQ Clustering

    • 0 Comments
    A very user friendly administrator UI tool for creating, configuring and managing MSMQ Clusters While this isn’t really a new MSMQ clustering feature, it’s worth being mentioned first. If you have used Win2k3 Cluster’s Cluster Admin UI, you will find...
  • Motley Queüe

    Combining LINQ with System.Messaging

    • 3 Comments
    Patrick Toolis of the MSMQ test team has written a great whitepaper on using LINQ (Language-Integrated Query) with MSMQ via system.messaging. It's twelve pages long with a number of screenshots and diagrams, so I'm not going to try to post it directly...
  • Motley Queüe

    Authentication and MSMQ4

    • 3 Comments
    As part of a general security sweep of Vista and Windows Server 2008, there was a review of the cryptographic algorithms used anywhere within the products. Some of the older ones were deprecated as being too weak to provide meaningful security anymore...
  • Motley Queüe

    How to count messages in a MessageQueue

    • 0 Comments
    There are a few different ways of getting a count of the number of messages in the MessageQueue. Here’s a simple one. public static int GetMessageCount( MessageQueue q) { int messageCount = 0; using ( MessageEnumerator messageEnumerator...
  • Motley Queüe

    MSMQ and the Active Directory Recycle Bin

    • 3 Comments
    Windows Server 2008 R2 introduces a new feature in Active Directory, the Active Directory Recycle Bin. When MSMQ is installed on a domain-joined machine with the MSMQ directory integration feature installed, it makes use of Active Directory objects, particularly...
  • Motley Queüe

    Be Prepared: Known Issues for Upgrading to Windows Server 2008

    • 4 Comments
    There are a few differences in MSMQ and IIS functionality between Windows Server 2003 (MSMQ v3.0) and Windows Server 2008 (MSMQ v4.0). This means that there are a few configuration changes you may have to make to your MSMQ system post-upgrade to make...
  • Motley Queüe

    Unattended MSMQ installation on Windows Server 2003

    • 3 Comments
    Let’s say you want to install all components except Downlevel Client Support on a Windows Server 2003 computer. You could run the following command: sysocmgr /i:sysoc.inf /x /u:unattend.ini with following unattend.ini file: [Version] Signature...
  • Motley Queüe

    Complementing MSMQ Security with WCF

    • 2 Comments
    An issue that frequently causes confusion for MSMQ users is that of message encryption. A message is marked for encryption and sent off, but when it shows up in the destination queue the contents are plainly viewable in clear text. What’s going on here...
  • Motley Queüe

    Unattended MSMQ installation on Windows Server 2008

    • 2 Comments
    Windows Server 2008 has a nifty new command line tool called ServerManagerCmd.exe which makes installing and uninstalling Optional Components and Server Roles quick and easy. It is not related to the Package Manager/OCSetup family of tools, so although...
  • Motley Queüe

    MSMQ and the Windows Firewall

    • 0 Comments
    I was called on to assist recently in diagnosing why an MSMQ client was unable to send messages to a queue on a server. One of the things the owner of the machines did was take a network trace on the client of the connection attempt, and what I saw there...
  • Motley Queüe

    Performance optimization when using MSMQ with WCF

    • 0 Comments
    There are a number of factors that can affect the performance of your enterprise application that uses MSMQ with WCF. Nicholas Allen discusses some of these design decisions in his Optimizing MSMQ article. Another good reference is Best Practices for...
  • Motley Queüe

    Determining Whether a Remote Queue Exists, Part 1

    • 1 Comments
    One of the basic principles of MSMQ's design is that sender and receiver are decoupled. The sending application does not need to know whether the receiving application is running or even reachable under current network conditions: it can just send, and...
  • Motley Queüe

    What Is Queuing?

    • 0 Comments
    In the computer sense, which we're discussing here, queuing is a way to get bundles of data, normally referred to as messages, from one program to another. Most descriptions of queuing use a postal metaphor, probably because it's a very good one: queuing...
  • Motley Queüe

    Encryption and MSMQ4

    • 0 Comments
    Just as with authentication, the security sweep for Vista and Windows Server 2008 had an effect on MSMQ's encryption feature. In previous versions, MSMQ offered two "privacy levels", BASE and ENHANCED. The two levels reflected the length of the keys used...
  • Motley Queüe

    MSMQ's Major Moving Parts, part one

    • 1 Comments
    In MSMQ, there are two important kinds of entities. As you might expect, they are messages and queues. To MSMQ, a message is a bundle of properties. The thing you normally think of as being the message, the actual content, is one of those properties...
  • Motley Queüe

    Another New Feature: Transactional Remote Receive

    • 1 Comments
    MSMQ has supported receiving messages from queues hosted on other machines ("remote receive") since the beginning. However, remote receives within a transaction have not been supported. That's a significant detail, and has generated a lot of customer...
  • Motley Queüe

    Determining Whether a Remote Queue Exists, Part 2A

    • 1 Comments
    Timeouts, acknowledgements, and deadlettering, working together, will help you deal with not just the situation where a remote queue doesn't exist, but all the other things which could go wrong along a message's way from sender to destination. MSMQ...
  • Motley Queüe

    Upcoming change in NACK behavior

    • 2 Comments
    Hello and welcome back from the holidays! I will get around to describing how to use acknowledgements and deadlettering soon, but right now, those of you who are already using acknowledgements should know that there is a slight behavior change coming...
  • Motley Queüe

    A double negative System.Messaging exception

    • 1 Comments
    Message message = new Message(); message.CorrelationId = Guid.NewGuid().ToString(); The above code snippet compiles but when you execute it, you get a System.InvalidOperationException with an ambiguous message: "Identifier is not in the incorrect format...
Page 1 of 2 (38 items) 12