@onlineapps/conn-infra-mq 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/layers/RPCHandler.js
CHANGED
|
@@ -35,6 +35,13 @@ class RabbitMQClient extends EventEmitter {
|
|
|
35
35
|
this._channel = null;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Getter for channel - provides compatibility with QueueManager
|
|
40
|
+
*/
|
|
41
|
+
get channel() {
|
|
42
|
+
return this._channel;
|
|
43
|
+
}
|
|
44
|
+
|
|
38
45
|
/**
|
|
39
46
|
* Connects to RabbitMQ server and creates a confirm channel.
|
|
40
47
|
* @returns {Promise<void>}
|