Hi,
I would like to use Reply pattern where I have two RabbitMq clients.
1-> Main Producer, also consumes the response back
2-> Main Consumer, also publish the response
My question is shall i set the,
properties.ReplyTo = callbackQueueName ////1
or
properties.ReplyTo = respnse.rpoutingKey ///2
and on the consumer side
BasicPublish(exchange,
routingKey: ReceivedProperties.ReplyTo, ///1
............: )
or
BasicPublish(exchange,
routingKey: response.routingKey, ///1
............: )
Please let me know on both side which code block shall I use, 1 or 2?
Best,
Reena