squaremo/rabbit.js

Identifying the Queue name

Opened this issue · 2 comments

Is alerts here the Queue name?

pub.connect('alerts');
sub.connect('alerts');

If not, how can I retrieve the autogenerated Queue name (if any)?

sub.queue may be what you're looking for, to get the auto-generated queue name. I'm new to this library (and to RabbitMQ), and am having difficulty getting SUB to work (I need to RTFM a couple more times I think).