lib/amqp/queue.js
function getAssertQueueOptions() {
    const aliases ={
      queueLimit: 'maxLength',
      deadLetter: 'deadLetterExchange',
      deadLetterRoutingKey: 'deadLetterRoutingKey'
    };
    const itemsToOmit = ['limit', 'noBatch'];

    let aliased = _.transform(options, function(result, value, key) {
      let alias = aliases[key];
      result[alias || key] = value;
    });

    return _.omit(aliased, itemsToOmit);
  }
function getAssertQueueOptions() {
    const aliases ={
      queueLimit: 'maxLength',
      deadLetter: 'deadLetterExchange',
      deadLetterRoutingKey: 'deadLetterRoutingKey'
    };
    const itemsToOmit = ['limit', 'noBatch'];

    let aliased = _.transform(options, function(result, value, key) {
      let alias = aliases[key];
      result[alias || key] = value;
    });

    return _.omit(aliased, itemsToOmit);
  }
function getAssertQueueOptions ( ) { const aliases = { queueLimit : 'maxLength' , deadLetter : 'deadLetterExchange' , deadLetterRoutingKey : 'deadLetterRoutingKey' } ; const itemsToOmit = [ 'limit' , 'noBatch' ] ; let aliased = _ . transform ( options , function ( result , value , key ) { let alias = aliases [ key ] ; result [ alias || key ] = value ; } ) ; return _ . omit ( aliased , itemsToOmit ) ; }
Get options for amqp assertQueue call
@private
Get options for amqp assertQueue call