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 : QueueConfiguration

Record - rabbitmq : QueueConfiguration

Configurations used to declare a queue.

Fields

  • queueName string
  • The name of the queue, which will be autogenerated if not specified

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

  • exclusive boolean (default false)
  • True if declaring an exclusive queue (restricted to this connection)

  • autoDelete boolean (default true)
  • True if declaring an auto-delete queue (the server will delete it when it is no longer in use)

  • arguments map? (default ())
  • Other properties (construction arguments) for the queue