Messaging Asynchronous
In this microlearning, we will explore the basics of the asynchronous messaging pattern within the eMagiz platform. As we delve into this topic, you will gain a clear understanding of how asynchronous communication enables systems to interact efficiently without waiting for immediate responses.
If you have any questions along the way, feel free to reach out to us at academy@emagiz.com.
1. Prerequisites
- Basic knowledge of the eMagiz platform
2. Key concepts
This microlearning centers around the asynchronous messaging pattern in eMagiz.
- With asynchronous, we mean: The process that processes data without returning to the sending system with an update on whether the data was processed successfully.
Key characteristics of asynchronous messaging are:
- Non-blocking. The sender initiates the process and can continue with the following message
- Systems can therefore be loosely connected
- Messages can temporarily be kept in the queue if an end system to which the messages need to be delivered is scheduled to go offline
- Supports one-to-many distribution of messages over the integration landscape
3. Messaging Asynchronous
Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz.
With this method, the sending party supplies the data to eMagiz (via push or pull). eMagiz, in turn, places the data on a queue (in most cases an onramp queue).
This logic means there is no need for the external system to wait for a reply to see what the other system thinks of the message.
Furthermore, the system can supply the data somewhere and forget about it. eMagiz will ensure to deliver the information to all systems that want to receive the data.
Because of this loose coupling between systems via the asynchronous five-layer model in eMagiz, you can add supplying and receiving systems quickly and replace them if necessary.
On top of that, it gives you the option to keep data in a queue temporarily. This functionality is, for example, convenient if there is scheduled maintenance in one of the receiving systems.
The sending system can continue to send data to eMagiz, and eMagiz will keep it in the queue until the scheduled maintenance is finished.
4. Key takeaways
- Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz.
- Key characteristics of asynchronous messaging are:
- Non-blocking. This allows the sender to initiate a process and immediately proceed to the next task without waiting for a response.
- Loose coupling of systems. This ensures that they can operate independently, making it easier to add, replace, or update systems within the integration landscape.
- Temporary message queuing. Messages can temporarily be kept in the queue if an end system, to which the messages need to be delivered, is scheduled to go offline.
5. Suggested Additional Readings
If you are interested in this topic and want more information on it please see the following links: