RabbitMQ is one of the most popular open-source enterprise messaging systems modelled on the Advanced Message Queuing Protocol (AMQP) standard. This guide covers the Ballerina RabbitMQ module and its public API. This module contains the functionality to support messaging with the RabbitMQ broker (AMQP 0-9-1). It assumes that the most recent version of Ballerina is used and is built on top of the basics. "> API Docs - Record : ExchangeConfiguration

Record - rabbitmq : ExchangeConfiguration

Configurations used to declare an exchange.

Fields

  • 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? (default ())
  • Other properties (construction arguments) for the queue