Motley Queüe

Queuing At Microsoft

  • Motley Queüe

    Queue names for WAS hosted WCF service

    • 0 Comments
    On WCF forums, I have noticed a common issue that developers face when hosting their WCF service in WAS. The issue is that the service does not get activated. Often, the reason is that the queue name does not match the service endpoint name. This msdn...
  • 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

    Checklist for using MsmqIntegrationBinding

    • 0 Comments
    The MsmqIntegrationBinding allows users to create WCF applications that send and receive messages to and from existing MSMQ applications that use System.Messaging or other MSMQ APIs. The operation contract should be one-way i.e. IsOneWay = true...
  • 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...
  • Motley Queüe

    Dealing with PRIVATE= formatnames

    • 0 Comments
    If your MSMQ environment has AD Integration installed, you can use PUBLIC= formatnames for public queues and PRIVATE= formatnames for private queues. PUBLIC= formatnames are pretty easy to work with: if you know the path of the queue, you can get or construct...
  • Motley Queüe

    Configuring a Remote WAS-hosted Queue

    • 0 Comments
    Creating a reliable service for MSMQ has been made simpler with the introduction of Windows Process Activation Service (WAS). Your deployment scenario may make it easier to have WAS running on a separate machine from where the MSMQ queue of interest is...
  • Motley Queüe

    Queue Matching Behavior in WAS

    • 0 Comments
    With the release of Windows Vista (and subsequently Windows Server 2008), a new way to host WCF services was introduced: Windows Process Application Service (WAS). Services that use MSMQ now have the option of being hosted in WAS . One of the most frequently...
  • Motley Queüe

    WAS hosting on Windows 7

    • 0 Comments
    IIS 7 allows isolation of web application pools from each other by providing the ability to run application pools as separate identities. The identity of an application pool is the name of the service account under which the application pool's worker...
  • 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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    This Post Intentionally Left Blank

    • 0 Comments
    It's a holiday weekend here. Happy Thanksgiving to all our US readers! Tune in next week for another exciting adventure.
  • Motley Queüe

    Please Stand By

    • 1 Comments
    Justin is out of the country and I'm on the far side of the continent, so we're experiencing a small break in our posting schedule. For now, a quick tip: MSMQ is a transport. It supports a few mechanisms for scanning through the messages in a queue...
  • 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

    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

    MSMQ + System.Messaging + WCF + Free T-Shirts = One Incredible Conference

    • 0 Comments
    TechEd Developers 2007 is just a couple days away now and we're getting really excited to hear what you have to say. If you use MSMQ, System.Messaging, or WCF Queues, please be sure to stop by our Ask the Experts booth so we can see what's on your mind...
  • Motley Queüe

    The Legacy of an Old Bug

    • 1 Comments
    Internally, MSMQ uses the Windows-provided CryptoAPI to do all of its encryption and hashing. Starting with Windows NT 4.0 Service Pack 2, CryptoAPI had a bug in its implementation of RC2 encryption in the enhanced (128-bit) provider: the keys were generated...
Page 1 of 2 (38 items) 12