@onlineapps/service-wrapper 2.0.5 → 2.0.6

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/service-wrapper",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Thin orchestration layer for microservices - delegates all infrastructure concerns to specialized connectors",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -297,6 +297,7 @@ class ServiceWrapper {
297
297
 
298
298
  // Subscribe to workflow messages
299
299
  await this.mqClient.consume(
300
+ queueName,
300
301
  async (message) => {
301
302
  try {
302
303
  // Delegate ALL processing to orchestrator
@@ -318,8 +319,7 @@ class ServiceWrapper {
318
319
  error: error.message
319
320
  });
320
321
  }
321
- },
322
- { queue: queueName }
322
+ }
323
323
  );
324
324
 
325
325
  this.logger.info(`Subscribed to queue: ${queueName}`);