@onlineapps/conn-infra-mq 1.1.38 → 1.1.39
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
|
@@ -266,7 +266,7 @@ class QueueManager {
|
|
|
266
266
|
console.error('[RabbitMQClient] Close reason:', channel._closeReason || 'Unknown');
|
|
267
267
|
});
|
|
268
268
|
|
|
269
|
-
transport.
|
|
269
|
+
transport._queueChannel = channel;
|
|
270
270
|
console.log(`[QueueManager] DEBUG: Channel recreated (was null) before ${queueInfo.name}`);
|
|
271
271
|
} else {
|
|
272
272
|
// Check if channel is closed - amqplib may not set closed property immediately
|
|
@@ -305,7 +305,7 @@ class QueueManager {
|
|
|
305
305
|
});
|
|
306
306
|
|
|
307
307
|
channel = newChannel;
|
|
308
|
-
transport.
|
|
308
|
+
transport._queueChannel = channel;
|
|
309
309
|
console.log(`[QueueManager] DEBUG: Channel recreated (check failed) before ${queueInfo.name}`);
|
|
310
310
|
channelUsable = true;
|
|
311
311
|
} catch (recreateErr) {
|