I am having 2 micro service which are processing some inputted data (provided through queue ABC)
asynchronously . after completing their processing they will push 2 messages into an another queue (queue ASD)
that work has been done.
A subscriber is listening to the the queue ASD
. On the basis of above 2 task completion , I want to run a function on subscriber when both of previous micro services completed their processing and pushed 2 related message to queue .
I am using RabbitMq
as queue and nodejs
as client.
Please suggest .