@onlineapps/conn-orch-registry 1.1.4 → 1.1.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/conn-orch-registry",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "license": "MIT",
5
5
  "description": "Connector-registry-client provides the core communication mechanism for microservices in this environment. It enables them to interact with a services_registry to receive and fulfill tasks by submitting heartbeats or their API descriptions.",
6
6
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@onlineapps/conn-base-storage": "file:../conn-base-storage",
41
+ "@onlineapps/conn-base-storage": "^1.0.0",
42
42
  "amqplib": "^0.10.3",
43
43
  "axios": "^1.5.0",
44
44
  "dotenv": "^16.1.4",
@@ -171,6 +171,11 @@ class ServiceRegistryClient extends EventEmitter {
171
171
  }, timeout);
172
172
  });
173
173
 
174
+ // Initialize queueManager if not already initialized
175
+ if (!this.queueManager.channel) {
176
+ await this.queueManager.init();
177
+ }
178
+
174
179
  // Send registration message to registry
175
180
  await this.queueManager.channel.assertQueue(this.registryQueue, { durable: true });
176
181
  this.queueManager.channel.sendToQueue(