rabbot
rabbot copied to clipboard
RPC: Does Rabbot generate for replyTo? I don't receive any reply
Does Rabbot creates the unknown queue for replyTo for which our consumer will use to reply back the answer? Or do we have to generate it and provide it?
In RabbitMQ, for RPC, we indicate which queue our request will be sent by providing the routingKey.
var options = {
type: 'request',
routingKey: 'routing.key.to.queue',
contentType: 'application/json',
correlationId: require('uuid').v4(),
body: {
id: 1234,
fibonacciNumber: 8
},
timeout: 60000,
replyTimeout: 60000,
};
However, I don't see in the documentation of rabbot if we require to provide a replyTo property with a queue randomly generated that later to be consumer should be destroyed as shown in this diagram:
I can receive the message sent to the queue, consume it, and send a reply to the replyTo provided. However, I don't get anything back.
This looks like a duplicate of issue #186