This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - rabbitmq : ExchangeConfiguration

Configurations used to declare an exchange.

Closed record


  • exchangeName string
  • The name of the exchange

  • exchangeType ExchangeType (default DIRECT_EXCHANGE)
  • The type of the exchange

  • durable boolean (default false)
  • True if declaring a durable exchange (the exchange will survive in a server restart)

  • autoDelete boolean (default false)
  • True if an autodelete exchange is declared (the server will delete it when it is no longer in use)

  • arguments map<any> (default ())
  • Other properties (construction arguments) for the queue