message queue - How can I Use RabbitMQ between two application while I can't change one of them? -
i have existing system consisting of 2 nodes, client/server model. want exchange messages between them using rabbitmq. i.e. client send requests rabbitmq , server listen queue indefinitely, consume messages arrives , act upon it.
i can change server needed, problem is, cannot change client's behavior. how can send response client?
the client node understands http request/response, shall after configure other application server rabbitmq instead of app directly.
you can use rpc model or internal convention, storing result in database (or cache) known id , polling storage result in cycle
Comments
Post a Comment