exchangeDeclare

open suspend override fun exchangeDeclare(exchange: IMessagingExchange, type: String, arguments: Map<String, Field>)

Declares an exchange with the specified parameters.

Parameters

exchange

The exchange to declare.

type

The type of the exchange (default is DIRECT).

arguments

Additional arguments for the exchange.