SlideShare ist ein Scribd-Unternehmen logo
1 von 15
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

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communication
AbDul ThaYyal
 

Was ist angesagt? (20)

Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state management
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
 
Networking in Java
Networking in JavaNetworking in Java
Networking in Java
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communication
 
Model View Controller (MVC)
Model View Controller (MVC)Model View Controller (MVC)
Model View Controller (MVC)
 
Web services
Web servicesWeb services
Web services
 
Interprocess communication (IPC) IN O.S
Interprocess communication (IPC) IN O.SInterprocess communication (IPC) IN O.S
Interprocess communication (IPC) IN O.S
 
Cookies in servlet
Cookies in servletCookies in servlet
Cookies in servlet
 
Distributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithmDistributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithm
 
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLSMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
 
Jdbc ppt
Jdbc pptJdbc ppt
Jdbc ppt
 
JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivity
 
Android Networking
Android NetworkingAndroid Networking
Android Networking
 
Servlets
ServletsServlets
Servlets
 
Web services SOAP
Web services SOAPWeb services SOAP
Web services SOAP
 
Application layer
Application layer Application layer
Application layer
 
WCF Fundamentals
WCF Fundamentals WCF Fundamentals
WCF Fundamentals
 
Application Layer
Application LayerApplication Layer
Application Layer
 
MULTI THREADING IN JAVA
MULTI THREADING IN JAVAMULTI THREADING IN JAVA
MULTI THREADING IN JAVA
 

Andere mochten auch

How to Prepare for Information Technology
How to Prepare for Information TechnologyHow to Prepare for Information Technology
How to Prepare for Information Technology
Sudheer Paidi
 
【XP祭り2010】 ライトニングトークス 「マイクロソフトとアジャイル
【XP祭り2010】 ライトニングトークス 「マイクロソフトとアジャイル【XP祭り2010】 ライトニングトークス 「マイクロソフトとアジャイル
【XP祭り2010】 ライトニングトークス 「マイクロソフトとアジャイル
智治 長沢
 
Depth buffershadow
Depth buffershadowDepth buffershadow
Depth buffershadow
MoonLightMS
 
Xoxoxoxoxooxoxoxox
XoxoxoxoxooxoxoxoxXoxoxoxoxooxoxoxox
Xoxoxoxoxooxoxoxox
xoxoandres
 
7. Przygotowanie form do drukowania płaskiego
7. Przygotowanie form do drukowania płaskiego7. Przygotowanie form do drukowania płaskiego
7. Przygotowanie form do drukowania płaskiego
Patryk Patryk
 
9 положення едісони ххі ст. 2016
9 положення едісони ххі ст. 20169 положення едісони ххі ст. 2016
9 положення едісони ххі ст. 2016
Rebbit2015
 
PRAE I.E 20 DE JULIO
PRAE I.E 20 DE JULIOPRAE I.E 20 DE JULIO
PRAE I.E 20 DE JULIO
MANUEL TOVAR
 

Andere mochten auch (19)

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

Ähnlich wie Message Queuing (MSMQ)

05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.ds05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.ds
karthickmsit
 
Bhupal_IBM MQ
Bhupal_IBM MQBhupal_IBM MQ
Bhupal_IBM MQ
bhupal m
 

Ähnlich wie Message Queuing (MSMQ) (20)

IBM WebSphere MQ Introduction
IBM WebSphere MQ Introduction IBM WebSphere MQ Introduction
IBM WebSphere MQ Introduction
 
Websphere MQ admin guide
Websphere MQ admin guideWebsphere MQ admin guide
Websphere MQ admin guide
 
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQAn Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
 
Mq Lecture
Mq LectureMq Lecture
Mq Lecture
 
IBM MQ Advanced - IBM InterConnect 2016
IBM MQ Advanced - IBM InterConnect 2016IBM MQ Advanced - IBM InterConnect 2016
IBM MQ Advanced - IBM InterConnect 2016
 
05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.ds05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.ds
 
Message Oriented Middleware
Message Oriented MiddlewareMessage Oriented Middleware
Message Oriented Middleware
 
IBM MQ Series For ZOS
IBM MQ Series For ZOSIBM MQ Series For ZOS
IBM MQ Series For ZOS
 
[@NaukriEngineering] Messaging Queues
[@NaukriEngineering] Messaging Queues[@NaukriEngineering] Messaging Queues
[@NaukriEngineering] Messaging Queues
 
Connecting IBM MessageSight to the Enterprise
Connecting IBM MessageSight to the EnterpriseConnecting IBM MessageSight to the Enterprise
Connecting IBM MessageSight to the Enterprise
 
On MQ Series & JMS
On MQ Series & JMSOn MQ Series & JMS
On MQ Series & JMS
 
Ibm mq
Ibm mqIbm mq
Ibm mq
 
Event-driven architecture with Java technology stack
Event-driven architecture with Java technology stackEvent-driven architecture with Java technology stack
Event-driven architecture with Java technology stack
 
Bhupal_IBM MQ
Bhupal_IBM MQBhupal_IBM MQ
Bhupal_IBM MQ
 
OOP - Basing Software Development on Reusable
OOP - Basing Software Development on Reusable OOP - Basing Software Development on Reusable
OOP - Basing Software Development on Reusable
 
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
 
1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx
 
Mule enterprise service introduction
Mule enterprise service introductionMule enterprise service introduction
Mule enterprise service introduction
 
2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts
 
Mule
MuleMule
Mule
 

Mehr von Senior Dev (7)

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

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

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