@platform-x/hep-message-broker-client 1.1.20 → 1.1.21

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.
@@ -382,7 +382,7 @@ class MessageBrokerClient {
382
382
  yield this.sendMessageToRetryQueue(attempt, data, retryDelay, queueName);
383
383
  // retry method
384
384
  if (typeof classInstance[consumerRetryHandler] === 'function') {
385
- classInstance[consumerRetryHandler](data);
385
+ yield classInstance[consumerRetryHandler](data); // Dynamically call the method
386
386
  }
387
387
  else {
388
388
  logger_1.Logger.info(`Method ${consumerRetryHandler} not found in classInstance.`, 'consumerMessage');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-x/hep-message-broker-client",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "platform-x hep-message-broker service",
5
5
  "main": "./dist/src/index.js",
6
6
  "scripts": {