Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

AMQPLib: Allow queue and durability to be part of the configuration #182

Merged
merged 7 commits into from
Feb 15, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update amqplib_ascoltatore.js
  • Loading branch information
shadyvd authored Feb 14, 2018
commit c1d6f9c376040c616866cfceb13913a76bb0301d
2 changes: 1 addition & 1 deletion lib/amqplib_ascoltatore.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ AMQPLibAscoltatore.prototype._startConn = function () {
function(callback){
debug('channel created');
that._queue = that._opts.queue || util.buildIdentifier();
that._channel.assertQueue(that._queue, {durable: (that._opts.durableQueue !== false)}, wrap(callback));
that._channel.assertQueue(that._queue, {durable: !!that._opts.durableQueue}, wrap(callback));
},

function (callback){
Expand Down