[rabbitmq-discuss] How can I Use RabbitMQ between two application while I can't change one of them?
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss