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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -