Set the exchange as autoDelete. AutoDelete exchanges will be deleted when there are no queues bound to it.
Optional
autoDelete: booleanSet the exchange as delayed exchange
Set the exchange as durable. Durable exchanges will survive broker restarts.
Optional
durable: booleanSet the exchange as passive. Passive exchanges will not be created by the broker.
Optional
passive: boolean
Set the alternate exchange for this exchange. If a message cannot be routed to any queue in this exchange, it will be sent to the alternate exchange.