Hi Michael,
Thanks for getting back to me!
I get correlation id field is nothing special. Let me elaborate my question:
As far as I know, there are two ways to implement correlation id style request/response communication with rabbitmq:
2. same queue for all the responses: in this case, instead of specifying empty queue name to use a random unique queue in the previous approach, the Reply-to queue name is the fixed and all responses for requests end up in there. In order to only get the response for the particular request, because all the responses come into the same queue, I will need to filter them by correlation id to get the response.
It perhaps can look something like: response_queue.pop(correlation_id: my_correl_id)
Thoughts?
Jack