Type Alias ExchangeParams

ExchangeParams: {
    autoDelete?: boolean;
    durable?: boolean;
    internal?: boolean;
    passive?: boolean;
}

Type declaration

  • OptionalautoDelete?: boolean

    if the exchange should be deleted when the last binding from it is deleted

  • Optionaldurable?: boolean

    if the exchange should survive server restarts

  • Optionalinternal?: boolean

    if exchange is internal to the server. Client's can't publish to internal exchanges.

  • Optionalpassive?: boolean

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