Skip to content

Commit 16e6f9c

Browse files
committed
test
1 parent 6a43780 commit 16e6f9c

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

OpenFlow/src/amqpwrapper.ts

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -173,18 +173,19 @@ export class amqpwrapper {
173173
//});
174174
// this.channel.on('nack', (e) => {
175175
// });
176-
var keys = Object.keys(this.exchanges);
177-
for (var i = 0; i < keys.length; i++) {
178-
var q1: amqpexchange = this.exchanges[keys[i]];
179-
this.AddExchangeConsumer(q1.exchange, q1.algorithm, q1.routingkey, q1.ExchangeOptions, null, q1.callback);
180-
}
181-
var keys = Object.keys(this.queues);
182-
for (var i = 0; i < keys.length; i++) {
183-
if (keys[i] != this.replyqueue) {
184-
var q2: amqpqueue = this.queues[keys[i]];
185-
this.AddQueueConsumer(q2.queue, q2.QueueOptions, null, q2.callback);
186-
}
187-
}
176+
// ROLLBACK
177+
// var keys = Object.keys(this.exchanges);
178+
// for (var i = 0; i < keys.length; i++) {
179+
// var q1: amqpexchange = this.exchanges[keys[i]];
180+
// this.AddExchangeConsumer(q1.exchange, q1.algorithm, q1.routingkey, q1.ExchangeOptions, null, q1.callback);
181+
// }
182+
// var keys = Object.keys(this.queues);
183+
// for (var i = 0; i < keys.length; i++) {
184+
// if (keys[i] != this.replyqueue) {
185+
// var q2: amqpqueue = this.queues[keys[i]];
186+
// this.AddQueueConsumer(q2.queue, q2.QueueOptions, null, q2.callback);
187+
// }
188+
// }
188189
} catch (error) {
189190
console.error(error);
190191
this.timeout = setTimeout(this.connect.bind(this), 1000);

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.8
1+
1.0.9

0 commit comments

Comments
 (0)