Methods
-
<static> publish(topic, body, callback)
-
publish a message
Parameters:
Name Type Description topic
string channel topic body
Object message object callback
publishCallback -
<static> subscribe(topic, queue, callback)
-
subscribe A topic to a queue of the same name
Parameters:
Name Type Description topic
string channel topic queue
string options queue name callback
subscribeCallback