rabbit.js icon indicating copy to clipboard operation
rabbit.js copied to clipboard

Identifying the Queue name

Open charyorde opened this issue 10 years ago • 2 comments

Is alerts here the Queue name?

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

charyorde avatar Aug 20 '15 10:08 charyorde

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

charyorde avatar Aug 20 '15 15:08 charyorde

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).

battlesnake avatar Sep 02 '15 17:09 battlesnake