@cloudamqp/amqp-client
    Preparing search index...

    Class AMQPExchange

    Session-level exchange handle returned by AMQPSession#exchange and its convenience variants (AMQPSession#directExchange, etc.).

    All operations are reconnect-safe: they acquire a session channel on each call. publish waits for a broker confirm; pass { confirm: false } to skip the wait.

    Index

    Properties

    Methods

    Properties

    name: string

    Methods

    • Delete this exchange.

      Parameters

      • Optionalparams: { ifUnused?: boolean }
        • OptionalifUnused?: boolean

          only delete if the exchange has no bindings

      Returns Promise<void>