@avtechno/sfr 1.0.10 → 1.0.11

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.
@@ -212,6 +212,7 @@ export class SFRPipeline {
212
212
  if (mq instanceof BroadcastMQ) {
213
213
  mq.channel.reject(msg, false);
214
214
  }
215
+ return; //Return immediately to avoid executing handler fn (which may contain reply or ack calls.)
215
216
  }
216
217
  handler.fn(msg);
217
218
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avtechno/sfr",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "An opinionated way of writing services using ExpressJS.",
5
5
  "type": "module",
6
6
  "files": [
@@ -222,6 +222,8 @@ export class SFRPipeline {
222
222
  if (mq instanceof BroadcastMQ) {
223
223
  mq.channel.reject(msg, false);
224
224
  }
225
+
226
+ return; //Return immediately to avoid executing handler fn (which may contain reply or ack calls.)
225
227
  }
226
228
 
227
229
  handler.fn(msg);