Tuesday, December 29, 2020

Step-by-Step Guide to Use Anypoint MQ: Part 1

This blog is the first part of the series, “Step-by-Step Guide to Use Anypoint MQ.” Part 1 will provide an understanding of what Anypoint MQ is, why it is used, and how we can create queues using Anypoint MQ to use in the Mule API. We will see how to create an Anypoint MQ queue and a client application. We’ll also get a demo of how to use the publish and consume operations of Anypoint MQ.

What Is a Queue & Why Do We Need One?

A queue is a temporary storage area used for inter-app communication — in simple words, to transfer the message from one API/service to another. If we consider an example of API-led connectivity in Mulesoft, we may require a mechanism to send messages from our exp API to the process API so a queue can be used. The exp API will send the message to the queue and the process API will consume the same message from the queue. This is just a simple example; there are many such use cases where queues can be used.



from DZone.com Feed https://ift.tt/3rLEO35

No comments:

Post a Comment