Type Alias QueueParams

QueueParams: {
    autoDelete?: boolean;
    durable?: boolean;
    exclusive?: boolean;
    passive?: boolean;
}

Type declaration

  • OptionalautoDelete?: boolean

    if the queue should be deleted when the last consumer of the queue disconnects

  • Optionaldurable?: boolean

    if the queue should survive server restarts

  • Optionalexclusive?: boolean

    if the queue should be deleted when the channel is closed

  • Optionalpassive?: boolean

    if the queue name doesn't exist the channel will be closed with an error, fulfilled if the queue name does exists