Message Queue
Rize uses a message queue to communicate real time events to the APIs, you can see all the events Rize communicates here.
Linker APIs connect to Rize's message queue using Stomps, with a custom transporter.
You can connect to any Rize event by adding a Topic.EVENT_NAME
into the topicsToSubscribe
array in src/main.ts
file.
Here's an example:
Once added into the array, you have to create an endpoint to listen to the event in src/baas/rize/rize-mq/rize-mq.controller.ts
:
And also create the service method to handle the logic in src/baas/rize/rize-mq/rize-mq.service.ts
:
Last updated