rabbot
rabbot copied to clipboard
RPC: request no consuming published response
Could you help me out to figure out what I do wrong?
rabbit.request('extension.requests'
, {
type: 'request'
, routingKey: 'routing.key.extend'
, timeout: 60000
, replyTimeOut: 60000
, body: body
},part => {
log.info("GETTING PART");
part.ack();
}).then(reply => {
log.info("WE GOT THE STUFF");
log.info(reply);
reply.ack();
}).catch(failed => {
log.error("IT FAILED");
log.error(failed);
});
(I tried without the part section too).
On the other side, I am receiving the message with the generated queue (reply-to) and processing it successfully. Then, send the results to that generated queue.
I can see the reply message in RabbitMQ Management:
But for some reason, the request is not consuming it! What am I missing?
@acarlstein Are both sides using rabbot? or different languages?