rabbit.js
rabbit.js copied to clipboard
Identifying the Queue name
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).