[rabbitmq-discuss] How can I Use RabbitMQ between two application while I can't change one of them?

Duncan McIntyre dmcintyre at gopivotal.com
Fri Feb 7 09:51:53 GMT 2014


Sounds like you need a proxy between the client and RabbitMQ.

The proxy would accept an incoming http request:
  - create a temporary reply queue
  - send a message
  - the server consumes the message and sends a reply to the reply queue
  - the proxy consumes the reply and returns it to the client as the http
response

Depending on performance requirements, you may need to replace this with a
fixed reply queue and use correlation ids. You would then have a thread
pool of http listeners and (e.g.) a single threaded reply queue consumer
which would examine the correlation id to determine to which http listener
thread a reply should be dispatched.

---
Duncan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140207/0582c780/attachment.html>


More information about the rabbitmq-discuss mailing list