Closed ubershmekel closed 6 years ago
@ubershmekel - I have tried to reproduce this with version 2 and no matter which order I start the publisher and subscriber, it still works. I can also kill the broker in the middle of the run and it will still work.
Maybe give the code in master a shot and see if you're still having issues?
The exchange is undefined.
https://github.com/arobson/rabbot/blob/master/demo/pubsub/subscriber.js#L45
Supplying my own
timeout
caused the same issue to occur withreplyTimeout
. After supplying them both I get unhandled rejections and theunreachable
event fires.Now I know that
unreachable
was because I had the wrong vhost.Then I fixed that and got
Which I believe is caused by
addExchange
not being called. @arobson israbbit.configure
failing? It seems to be creating everything on the rabbit exchange's end, but the client is unaware.