Jump to content

Messenger Library Messaging Patterns: Difference between revisions

From LabVIEW Wiki
Messenger Library Messaging Patterns
 
Added GDevCon1 talk link
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


[[Messenger Library]] is intended to support the following patterns:
[[Messenger Library]] is intended to support the following patterns:
* Command: simply sending a command [[Messenger Library Messages|message]] to an [[Messenger Library Address|Address]].
* Command: simply sending a command [[Messenger Library Messages|message]] to an [[Messenger Library Addresses|Address]].
* Request-Reply (blocking): sending a command and then waiting for a specific replay to come back.  Also called a "Query".
* Request-Reply (blocking): sending a command and then waiting for a specific replay to come back.  Also called a "Query".
* Request-Reply Asynchronous: Sending a request with reply address attached to the message, then carrying on with other work before the reply is sent back to us. This is analogous to email.
* Request-Reply Asynchronous: Sending a request with reply address attached to the message, then carrying on with other work before the reply is sent back to us. This is analogous to email.
* Scatter Gather (Blocking or Async): multi-actor versions of Request-Reply.  Makes use of Future Tokens.
* Scatter Gather (Blocking or Async): multi-actor versions of Request-Reply.  Makes use of Future Tokens.
* Register-Notify: Registration messages request future update "Notifications".  See the Observer Registry helper object.
* Register-Notify: Registration messages request future update "Notifications".  See the Observer Registry helper object.
Useful Links:
* [https://www.enterpriseintegrationpatterns.com/patterns/messaging/index.html Enterprise Integration Patterns]
* [https://youtu.be/HIuzY_Bs7BI GDevCon1 talk that includes messaging patterns]


[[Category:Messenger Library]]
[[Category:Messenger Library]]
[[Category:Design patterns]]

Latest revision as of 20:08, 19 February 2019

Messaging Patterns

Messenger Library is intended to support the following patterns:

  • Command: simply sending a command message to an Address.
  • Request-Reply (blocking): sending a command and then waiting for a specific replay to come back. Also called a "Query".
  • Request-Reply Asynchronous: Sending a request with reply address attached to the message, then carrying on with other work before the reply is sent back to us. This is analogous to email.
  • Scatter Gather (Blocking or Async): multi-actor versions of Request-Reply. Makes use of Future Tokens.
  • Register-Notify: Registration messages request future update "Notifications". See the Observer Registry helper object.

Useful Links: