Professional Documents
Culture Documents
Enterprise messaging happens at a higher level than that of UDP packets or direct TCP
connections . Not email, texts.
A message typically contains the payload — whatever information your application sends:
XML,
JSON,
binary data, and so on.
-You can also add optional attributes and metadata to a message.
Therefore, a SQL Server is a database server that implements the Structured Query Language (SQL).]
Similarly, a messaging server or service allows a place for your messages to be stored
temporarily and transmitted.
-----x--------------x-------------------------x---------------------------x--------------------------x---------------
-In a messaging service, the two main resources are the queue and the topic.
.
1.QUEUE
A queue is like a buffer. You can put messages into a queue, and you can retrieve messages
from a queue.
The software that puts messages into a queue is called a message producer and
2. TOPIC
You can publish messages to a topic, and anyone interested in these messages can
subscribe to the topic.
Then, the interested parties are notified about the published messages.
Service-to-service communication
You have two services or systems that need to communicate with each other. Let’s say a
website (the frontend) has to update customer’s delivery address in a customer
relationship management (CRM) system (the backend). Alternatively, you can set up a
load balancer in front of the backend CRM service and call its API actions directly from
the frontend website. You can also set up a queue and have the frontend website code
send messages to the queue and have the backend CRM service to consume them.