Methods
-
<static> publish(topic, body, callback)
-
publish a message
Parameters:
Name Type Description topicstring channel topic bodyObject message object callbackpublishCallback -
<static> subscribe(topic, queue, callback)
-
subscribe A topic to a queue of the same name
Parameters:
Name Type Description topicstring channel topic queuestring options queue name callbacksubscribeCallback