SlideShare a Scribd company logo
MSMQ (Microsoft Message Queuing)



 twitter: @trukuxzo
Overview
• Message Queuing is a message infrastructure and a
  development platform for creating distributed, loosely-
  coupled messaging applications for the Microsoft®
  Windows® operating system.

• Message Queuing applications can use the Message
  Queuing infrastructure to communicate across
  heterogeneous networks and with computers that may be
  offline.

• Message Queuing provides guaranteed message
  delivery, efficient routing, security, transaction support, and
  priority-based messaging.
Aplications
• Message Queuing applications can be divided into two
  categories:
   – Sending applications, which send messages to queues.
   – Receiving applications, which read messages in queues
     and can remove messages from queues.
Queues
• Queues are logical containers that Message
  Queuing uses to store and later forward
  messages, providing the bases for the loosely
  coupled aspects of Message Queuing.

• Applications can create queues, locate existing
  queues, open queues, send messages to
  queues, read messages in queues, set and
  retrieve queue properties, and set and retrieve
  the security descriptors of queues.
Messages
• Messages are units of information that are
  sent to and retrieved from destination queues
  distributed on various computers.

• Logically speaking, a message can be
  considered an object that has a set of
  properties and content.
Messages Cosiderations
Maximum Message Size
  – Messages can have no more than 4 MB of data.
    This restriction is due to the memory mapped files
    used by Message Queuing to store the message
    data.

Message Identifier
  – Message Queuing provides a message identifier
    for every message that is sent, including both
    messages sent by the sending application.
Sending Messages
In addition to the basic asynchronous operation, you can add
functionality to your send operation by using the following:

   – Message timers to control how long your messages stay in the system

   – Computer journals to store a copy of each message that you send

   – Administration queues for Message Queuing-generated
     acknowledgment messages

   – Response queues for application-defined response messages

   – Report queues for storing messages that trace the progress of a
     message
Reading Messages
The receiving application can read the messages in a
queue either synchronously or asynchronously. Messages
can be removed from the queue when they are read, or
they can be left in the queue. Additionally, a receiving
application can read all its messages from within a
transaction.

Note:
  Messages cannot be read from a queue on a computer that
  does not have a direct connection. Opening a queue
  with receive or peek accessrequires a direct connection to the
  computer where the queue is resides.
Computer Properties
The properties of a Message Queuing computer contain the
settings that define the messaging behavior of the computer.
Computer properties consist of two groups of properties:
queue manager and private computer properties.

• Retrieving Computer Properties
   – Unlike queue and message properties, computer properties
     cannot be set programmatically.

• Computer Property Structures
   – Message Queuing uses an MQQMPROPS structure to define
     queue manager properties and a MQPRIVATEPROPS structure to
     define private computer properties
Triggers
Message Queuing triggers allow you to associate the arrival of
incoming messages at a destination queue with the
functionality of one or more COM components or stand-alone
executable programs.
Transactions
When more than one message is sent within a
transaction, Message Queuing uses an internal exactly-once-
delivery (EOD) protocol to guarantee that the messages will
be delivered exactly once and in order.
Application Models
Message Queuing applications can run in many
different network scenarios.

  – Applications operating in a workgroup environment

  – Applications operating offline

  – pplications that must send and receive messages
    between enterprises
COM Support
• Message Queuing provides a set of COM
  objects for developing Message Queuing
  applications using COM development tools.

• The Message Queuing COM objects provide
  the most common Message Queuing API
  functionalities needed for developing
  Message Queuing applications.
References
http://msdn.microsoft.com/en-
us/library/windows/desktop/ee663286(v=VS.85
).aspx
Fin

More Related Content

PPTX
Query processing and optimization (updated)
PPTX
Distributed concurrency control
PDF
MSMQ - Microsoft Message Queueing
PDF
management of distributed transactions
PPTX
Control structures in java
PPTX
Design Goals of Distributed System
PPTX
Structure of shared memory space
PPTX
Distributed Shared Memory
Query processing and optimization (updated)
Distributed concurrency control
MSMQ - Microsoft Message Queueing
management of distributed transactions
Control structures in java
Design Goals of Distributed System
Structure of shared memory space
Distributed Shared Memory

What's hot (20)

PDF
Inter-Process Communication in distributed systems
PPTX
Object Oriented Testing
PPTX
Communication in Distributed Systems
PPT
Architectural Design in Software Engineering SE10
PDF
operating system structure
PPT
Secure Socket Layer
PPTX
DeadLock in Operating-Systems
PDF
An introduction to Amazon SQS
PPTX
Asp.NET Validation controls
PPTX
Distributed Mutual Exclusion and Distributed Deadlock Detection
PPTX
The medium access sublayer
PPT
File replication
PPTX
CLIENT SERVER IN OS.ppt
PDF
Deadlock in distribute system by saeed siddik
PPTX
Filehandling
PPSX
Election algorithms
PDF
Asymmetric Cryptography
PDF
The CAP Theorem
PPTX
Ssl and tls
Inter-Process Communication in distributed systems
Object Oriented Testing
Communication in Distributed Systems
Architectural Design in Software Engineering SE10
operating system structure
Secure Socket Layer
DeadLock in Operating-Systems
An introduction to Amazon SQS
Asp.NET Validation controls
Distributed Mutual Exclusion and Distributed Deadlock Detection
The medium access sublayer
File replication
CLIENT SERVER IN OS.ppt
Deadlock in distribute system by saeed siddik
Filehandling
Election algorithms
Asymmetric Cryptography
The CAP Theorem
Ssl and tls
Ad

Viewers also liked (19)

PDF
GDC 2009 Game Design Improv
PPTX
Developing My Online Professional Learning Network
PPTX
Strings connect
PDF
GCSE Physics Conduction of Heat
PPTX
IPhone Application Development India |#IPhoneApplicationDevelopmentIndia
PPTX
How to Prepare for Information Technology
DOCX
Cronica tita
PDF
【XP祭り2010】 ライトニングトークス 「マイクロソフトとアジャイル
PDF
A Content Marketer's Toast to Twitter
PDF
Resultados etapa excepcional 12 10-2016
PDF
How Social Networking & Remote Conferencing (SL) Transfomed MACPA
PPTX
Curso de Mini-Basket Baloncesto Formativo
PPTX
Tech Backpack Journey till May 2013
PPTX
Depth buffershadow
PPT
Xoxoxoxoxooxoxoxox
PDF
7. Przygotowanie form do drukowania płaskiego
PPTX
Developing My Online Professional Learning Network
DOC
9 положення едісони ххі ст. 2016
DOC
PRAE I.E 20 DE JULIO
GDC 2009 Game Design Improv
Developing My Online Professional Learning Network
Strings connect
GCSE Physics Conduction of Heat
IPhone Application Development India |#IPhoneApplicationDevelopmentIndia
How to Prepare for Information Technology
Cronica tita
【XP祭り2010】 ライトニングトークス 「マイクロソフトとアジャイル
A Content Marketer's Toast to Twitter
Resultados etapa excepcional 12 10-2016
How Social Networking & Remote Conferencing (SL) Transfomed MACPA
Curso de Mini-Basket Baloncesto Formativo
Tech Backpack Journey till May 2013
Depth buffershadow
Xoxoxoxoxooxoxoxox
7. Przygotowanie form do drukowania płaskiego
Developing My Online Professional Learning Network
9 положення едісони ххі ст. 2016
PRAE I.E 20 DE JULIO
Ad

Similar to Message Queuing (MSMQ) (20)

PPT
Mq Lecture
PDF
05 mq series_admin-win_unix_aix_ch02.ds
PPTX
Message queue architecture
PDF
Websphere MQ admin guide
DOCX
PPTX
IBM MQ Series For ZOS
PPTX
Synchronous and asynchronous software communication components
PPTX
Message Oriented Middleware
PDF
Red book mq
PPTX
Message Queue (MQ) Testing
PPTX
Message Queue (MQ) Testing
PDF
Rabbitmq an amqp message broker
PDF
On MQ Series & JMS
PDF
MOM - Message Oriented Middleware
PPTX
Message and Stream Oriented Communication
PPTX
RabbitMq
PDF
Ibm websphere mq
PPT
WebSphere MQ introduction
PDF
Cloud Computing With Amazon Web Services, Part 4: Reliable Messaging With SQS
ODP
Apache ActiveMQ and Apache Camel
Mq Lecture
05 mq series_admin-win_unix_aix_ch02.ds
Message queue architecture
Websphere MQ admin guide
IBM MQ Series For ZOS
Synchronous and asynchronous software communication components
Message Oriented Middleware
Red book mq
Message Queue (MQ) Testing
Message Queue (MQ) Testing
Rabbitmq an amqp message broker
On MQ Series & JMS
MOM - Message Oriented Middleware
Message and Stream Oriented Communication
RabbitMq
Ibm websphere mq
WebSphere MQ introduction
Cloud Computing With Amazon Web Services, Part 4: Reliable Messaging With SQS
Apache ActiveMQ and Apache Camel

More from Senior Dev (7)

PPTX
Scrum
PPTX
DDD (Domain-Driven Design)
PPTX
TDD (Test-Driven Development)
PPTX
Teoría de colas
PPTX
JSON - (English)
PPTX
MVC & ASP.NET (Spanish)
PPTX
MVC - (Spanish)
Scrum
DDD (Domain-Driven Design)
TDD (Test-Driven Development)
Teoría de colas
JSON - (English)
MVC & ASP.NET (Spanish)
MVC - (Spanish)

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation theory and applications.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
A Presentation on Artificial Intelligence
PDF
cuic standard and advanced reporting.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Dropbox Q2 2025 Financial Results & Investor Presentation
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
Programs and apps: productivity, graphics, security and other tools
Encapsulation theory and applications.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
“AI and Expert System Decision Support & Business Intelligence Systems”
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A Presentation on Artificial Intelligence
cuic standard and advanced reporting.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Mobile App Security Testing_ A Comprehensive Guide.pdf
Network Security Unit 5.pdf for BCA BBA.

Message Queuing (MSMQ)

  • 1. MSMQ (Microsoft Message Queuing) twitter: @trukuxzo
  • 2. Overview • Message Queuing is a message infrastructure and a development platform for creating distributed, loosely- coupled messaging applications for the Microsoft® Windows® operating system. • Message Queuing applications can use the Message Queuing infrastructure to communicate across heterogeneous networks and with computers that may be offline. • Message Queuing provides guaranteed message delivery, efficient routing, security, transaction support, and priority-based messaging.
  • 3. Aplications • Message Queuing applications can be divided into two categories: – Sending applications, which send messages to queues. – Receiving applications, which read messages in queues and can remove messages from queues.
  • 4. Queues • Queues are logical containers that Message Queuing uses to store and later forward messages, providing the bases for the loosely coupled aspects of Message Queuing. • Applications can create queues, locate existing queues, open queues, send messages to queues, read messages in queues, set and retrieve queue properties, and set and retrieve the security descriptors of queues.
  • 5. Messages • Messages are units of information that are sent to and retrieved from destination queues distributed on various computers. • Logically speaking, a message can be considered an object that has a set of properties and content.
  • 6. Messages Cosiderations Maximum Message Size – Messages can have no more than 4 MB of data. This restriction is due to the memory mapped files used by Message Queuing to store the message data. Message Identifier – Message Queuing provides a message identifier for every message that is sent, including both messages sent by the sending application.
  • 7. Sending Messages In addition to the basic asynchronous operation, you can add functionality to your send operation by using the following: – Message timers to control how long your messages stay in the system – Computer journals to store a copy of each message that you send – Administration queues for Message Queuing-generated acknowledgment messages – Response queues for application-defined response messages – Report queues for storing messages that trace the progress of a message
  • 8. Reading Messages The receiving application can read the messages in a queue either synchronously or asynchronously. Messages can be removed from the queue when they are read, or they can be left in the queue. Additionally, a receiving application can read all its messages from within a transaction. Note: Messages cannot be read from a queue on a computer that does not have a direct connection. Opening a queue with receive or peek accessrequires a direct connection to the computer where the queue is resides.
  • 9. Computer Properties The properties of a Message Queuing computer contain the settings that define the messaging behavior of the computer. Computer properties consist of two groups of properties: queue manager and private computer properties. • Retrieving Computer Properties – Unlike queue and message properties, computer properties cannot be set programmatically. • Computer Property Structures – Message Queuing uses an MQQMPROPS structure to define queue manager properties and a MQPRIVATEPROPS structure to define private computer properties
  • 10. Triggers Message Queuing triggers allow you to associate the arrival of incoming messages at a destination queue with the functionality of one or more COM components or stand-alone executable programs.
  • 11. Transactions When more than one message is sent within a transaction, Message Queuing uses an internal exactly-once- delivery (EOD) protocol to guarantee that the messages will be delivered exactly once and in order.
  • 12. Application Models Message Queuing applications can run in many different network scenarios. – Applications operating in a workgroup environment – Applications operating offline – pplications that must send and receive messages between enterprises
  • 13. COM Support • Message Queuing provides a set of COM objects for developing Message Queuing applications using COM development tools. • The Message Queuing COM objects provide the most common Message Queuing API functionalities needed for developing Message Queuing applications.
  • 15. Fin