Bind this exchange to a source exchange.
name or AMQPExchange to bind from
this for chaining
Delete this exchange.
Optionalparams: { ifUnused?: boolean }OptionalifUnused?: booleanonly delete if the exchange has no bindings
Publish a message to this exchange.
When the session has parsers configured, body can be any value accepted
by the matching parser's serialize method. Without parsers, body must
be a string, Buffer, Uint8Array, or null.
Defaults: confirm: true, deliveryMode: 2 (persistent). Pass
deliveryMode: 1 to send a transient message.
routing key, publish properties; set confirm: false to skip broker confirmation
this for chaining
Remove a binding between this exchange and a source exchange.
name or AMQPExchange to unbind from
this for chaining
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.
publishwaits for a broker confirm; pass{ confirm: false }to skip the wait.