Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Microsoft Message Queuing
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Message queue implementation by Microsoft}} {{third-party|date=July 2013}} '''Microsoft Message Queuing''' ('''MSMQ''') is a [[message queue]] implementation developed by [[Microsoft]] and deployed in its [[Microsoft Windows|Windows]] Server operating systems since [[Windows NT 4]] and [[Windows 95]]. [[Windows Server 2016]] and [[Windows 10]] also includes this component. In addition to its mainstream server platform support, MSMQ has been incorporated into Microsoft Embedded platforms since 1999 and the release of [[Windows CE]] 3.0.<ref>{{cite web |url=http://msdn.microsoft.com/en-us/library/ms834460.aspx |title=Microsoft Windows CE 3.0 Message Queuing Service |date=29 June 2006 |access-date=2009-11-25 |publisher=Microsoft Developer Network }}</ref> ==Overview== MSMQ is a messaging protocol that allows applications running on separate servers/processes to communicate in a failsafe manner. A queue is a temporary storage location from which messages can be sent and received reliably, as and when conditions permit. This enables communication across networks and between computers, running Windows, which may not always be connected. By contrast, [[Internet socket|sockets]] and other network protocols assume that direct connections always exist. MSMQ has been available to developers on Microsoft platforms since 1997,<ref>[http://www.informationweek.com/673/73iudn2.htm InformationWeek News Connects The Business Technology Community]. Informationweek.com (2014-02-04). Retrieved on 2014-02-22. {{webarchive |url=https://web.archive.org/web/20080410201921/http://www.informationweek.com/673/73iudn2.htm |date=April 10, 2008 }}</ref> and has commonly been used in enterprise software built with [[Visual Studio]], both in the native pre-[[Microsoft .NET|.NET]] incarnation (version 5 and 6), and in [[Visual Studio .NET]]. Microsoft also has incorporated MSMQ in its messaging technology framework, [[Windows Communication Foundation]] (WCF). Under WCF, MSMQ can be used for providing secure, reliable transport with a unified programming model compatible with other communications standards. MSMQ is responsible for reliably delivering messages between applications inside and outside the enterprise. MSMQ ensures reliable delivery by placing messages that fail to reach their intended destination in a queue and then resending them once the destination is reachable. It also supports security and priority based messaging. [[Dead letter queue]]s can be created for looking at messages which timed out or failed for other reasons. MSMQ supports both durable and non-durable messaging to make a trade off between performance or consistency by writing messages to disk or only in RAM. Non-durable messaging can only be achieved by sending express messages via non-transactional queues. MSMQ also supports transactions. It permits multiple operations on multiple queues, with all of the operations wrapped in a single transaction, thus ensuring that either all or none of the operations will take effect. Microsoft [[Distributed Transaction Coordinator]] (MSDTC) supports transactional access to MSMQ and other resources to achieve transactional exact once processing. The following ports are used for Microsoft Message Queuing operations: * TCP: 1801 * RPC: 135, 2101*, 2103*, 2105* * UDP: 3527, 1801 * * These port numbers may be incremented by 11 if the initial choice of RPC port is being used when Message Queuing initializes. Port 135 is queried to discover the 2xxx ports.<ref>[http://support.microsoft.com/kb/178517 TCP ports, UDP ports, and RPC ports that are used by Message Queuing]. Support.microsoft.com (2011-09-28). Retrieved on 2014-02-22.</ref> ==Version references== * Version 1.0 (May 1997). Supports [[Windows 95]], [[Windows NT 4.0]] SP3, [[Windows 98]] and [[Windows Me]]. * Version 2.0, included with [[Windows 2000]]. ** New features include:<ref>{{cite web |url = https://azureadministrator.blogspot.com |archive-url = https://web.archive.org/web/20181124105920/https://azureadministrator.blogspot.com/ |url-status = dead |archive-date = 2018-11-24 |title = Cloud Administrator |access-date = 2006-08-05 |work = Azure Cloud Administrator |publisher = Dayasagar Roy }}</ref> Support for registering public message queues in [[Active Directory]], 128-bit encryption and digital certificate support, full [[Component Object Model|COM]] support for message properties (achieving functional parity with the [[Windows API|Win32 API]] function calls, full DNS path name support, improved performance in multi-threaded applications. * Version 3.0, included with [[Windows XP]] (Professional, not Home Edition) and [[Windows Server 2003]]. ** New features include:<ref>{{cite web |url=https://azureadministrator.blogspot.com |archive-url=https://web.archive.org/web/20181124105920/https://azureadministrator.blogspot.com/ |url-status=dead |archive-date=2018-11-24 |title=Cloud Administrator |access-date=2006-08-05 |work=Azure |publisher=Dayasagar Roy }}</ref> Internet Messaging (referencing queues via HTTP, [[SOAP]]-formatted messages, MSMQ support for [[Internet Information Services]]), queue aliases, multicasting of messages, and additional support for programmatic maintenance and administration of queues and MSMQ itself. * Version 4.0, part of [[Windows Vista]] and [[Windows Server 2008]]. ** New features include:<ref>{{cite web |url = https://azureadministrator.blogspot.com |archive-url = https://web.archive.org/web/20181124105920/https://azureadministrator.blogspot.com/ |url-status = dead |archive-date = 2018-11-24 |title = Cloud Administrator |access-date = 2006-08-05 |work = Azure |publisher = Dayasagar Roy }}</ref> Subqueues,<ref>[http://blogs.msdn.com/jolson/archive/2008/01/29/ws08-feature-of-the-week-14-sub-queues-in-msmq-4-0.aspx Sub-queues in MSMQ 4.0]</ref> improved support for "poison messages" (messages which continually fail to be processed correctly by the receiver), and support for transactional receives of messages from a remote queue. * Version 5.0, part of [[Windows 7]] and [[Windows Server 2008 R2]]. ** New features include:<ref>{{cite web |url=https://azureadministrator.blogspot.com |title=Cloud Administrator |access-date=2006-08-05 |work=Azure |publisher=Dayasagar Roy }}</ref> support for Secure Hash Algorithm 2.0 ([[SHA2]]) and all advanced hash algorithms that are supported in Windows 2008 R2; by default, weaker hash algorithms are disabled. * Version 6.0, part of [[Windows 8]] and [[Windows Server 2012]]. * Version 6.3, part of [[Windows 8.1]] and [[Windows Server 2012 R2]]. == Uses == MSMQ is heavily used in various Windows Platform-based contact center applications which uses this service for internal notifications and services. {{Citation needed|reason=What is meant be Windows Platform-based contact center|date=August 2023}} ==See also== * [[List of Microsoft Windows components]] * [[IBM MQ]], similar techonolgy by [[IBM]] * [[Java Message Service]], similar technology on the [[Java (programming language)|Java]] platform * [[Amazon Simple Queue Service]], commoditized messaging service provided by [[Amazon.com]] for a per-use fee. It allows users to rent access to messaging without having to maintain their own server. * [[RabbitMQ]], open source message queue broker that implements a pre-standard version of AMQP.<ref>{{Cite web|url=https://www.iso.org/standard/64955.html|title=ISO/IEC 19464:2014 - Information technology -- Advanced Message Queuing Protocol (AMQP) v1.0 specification|website=www.iso.org|language=en|access-date=2017-11-07}}</ref> ==References== {{reflist}} ==External links== * [http://msdn.microsoft.com/en-us/library/ms711472.aspx MSDN documentation] {{Windows Components}} [[Category:Windows communication and services|Message Queuing]] [[Category:Message-oriented middleware]] [[Category:Windows components|Message Queuing]] [[Category:Enterprise application integration]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation needed
(
edit
)
Template:Cite web
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Third-party
(
edit
)
Template:Webarchive
(
edit
)
Template:Windows Components
(
edit
)