Type alias ExchangeParams

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

Type declaration

  • Optional autoDelete?: boolean

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

  • Optional durable?: boolean

    if the exchange should survive server restarts

  • Optional internal?: boolean

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

  • Optional passive?: boolean

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

Generated using TypeDoc