<div dir="ltr">Sounds like you need a proxy between the client and RabbitMQ.�<div><br></div><div>The proxy would accept an incoming http request:</div><div>� - create a temporary reply queue</div><div>� - send a message</div>
<div>� - the server consumes the message and sends a reply to the reply queue</div><div>� - the proxy consumes the reply and returns it to the client as the http response</div><div><br></div><div>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.</div>
<div><br></div><div>---</div><div>Duncan<br><div><br></div></div><div class="gmail_extra"><br>
</div></div>