Skip to content

Commit 19ac343

Browse files
committed
111
1 parent 9d6702e commit 19ac343

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

OpenFlow/src/amqpwrapper.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,15 @@ export class amqpwrapper {
368368
}
369369
async checkQueue(queue: string): Promise<boolean> {
370370
if (Config.amqp_check_for_consumer) {
371+
var q: amqpqueue = this.queues[queue];
372+
371373
var test: AssertQueue = null;
372374
try {
373375
// var test: AssertQueue = await this.channel.assertQueue(this.queue, this.AssertQueueOptions);
374376
test = await this.channel.checkQueue(queue);
377+
if (q != null) {
378+
q.ok = test;
379+
}
375380
} catch (error) {
376381
test = null;
377382
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.16
1+
1.0.17

0 commit comments

Comments
 (0)