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

Record - rabbitmq : ConnectionConfiguration

Configurations used to create a rabbitmq:Connection.

Closed record


  • host string
  • The host used for establishing the connection

  • port int (default 5672)
  • The port used for establishing the connection

  • username string? (default ())
  • The username used for establishing the connection

  • password string? (default ())
  • The password used for establishing the connection

  • connectionTimeoutInMillis int? (default ())
  • Connection TCP establishment timeout in milliseconds and zero for infinite

  • handshakeTimeoutMillis int? (default ())
  • The AMQP 0-9-1 protocol handshake timeout in milliseconds

  • shutdownTimeoutInMillis int? (default ())
  • Shutdown timeout in milliseconds, zero for infinite, and the default value is 10000. If the consumers exceed this timeout, then any remaining queued deliveries (and other Consumer callbacks) will be lost

  • heartbeatInSeconds int? (default ())
  • The initially-requested heartbeat timeout in seconds and zero for none

  • secureSocket SecureSocket? (default ())
  • Configurations for facilitating secure connections