@onlineapps/mq-client-core 1.0.58 → 1.0.60

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/mq-client-core",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "description": "Core MQ client library for RabbitMQ - shared by infrastructure services and connectors",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -54,7 +54,8 @@ module.exports = {
54
54
  },
55
55
 
56
56
  /**
57
- * workflow.failed - Failed workflows
57
+ * workflow.failed - Failed workflows (DLQ entry point)
58
+ * Workflows land here after max retries exhausted, waiting for human decision
58
59
  */
59
60
  failed: {
60
61
  durable: true,
@@ -64,6 +65,18 @@ module.exports = {
64
65
  }
65
66
  },
66
67
 
68
+ /**
69
+ * workflow.discarded - Discarded workflows (final state)
70
+ * Workflows land here after human decision to discard from DLQ
71
+ */
72
+ discarded: {
73
+ durable: true,
74
+ arguments: {
75
+ 'x-message-ttl': 300000, // 5 minutes TTL
76
+ 'x-max-length': 10000
77
+ }
78
+ },
79
+
67
80
  /**
68
81
  * workflow.dlq - Dead letter queue for workflows
69
82
  */