You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
361 B
14 lines
361 B
require('./harness').run(); |
|
|
|
var queueName = 'node-consumer-tag-test'; |
|
var consumerTag = 'testingConsumerTag'; |
|
|
|
connection.on('ready', function() { |
|
var q = connection.queue(queueName, {autoDelete: false}, function() { |
|
q.subscribe({consumerTag}); |
|
|
|
assert.ok(Object.keys(q.consumerTagOptions)[0].includes(consumerTag)); |
|
connection.end(); |
|
}); |
|
}); |
|
|
|
|