Options for new connections.
Related: Class connection, Method container.connect, Method container.listen
Implementations: C++
AMQP: Conceptual overview, Open performative
| Method | Summary | Inputs | Outputs |
|---|---|---|---|
| constructor | Create a new connection-options instance | [connection] | connection-options |
| Property | Summary | Type | Default value | Mutable | Nullable |
|---|---|---|---|---|---|
| container-id | The connection container identifier | string | generated | ☒ | ☐ |
| virtual-host | The virtual host name | string | null | ☒ | ☒ |
| user | The identity of the user associated with the connection | string | null | ☒ | ☒ |
| Property | Summary | Type | Default value | Mutable | Nullable |
|---|---|---|---|---|---|
| password | The user authentication secret | string | null | ☒ | ☒ |
| sasl-enabled | Enable or disable the SASL security layer | boolean | true | ☒ | ☐ |
| sasl-allowed-mechs | The SASL mechanisms the local peer permits | string | null | ☒ | ☒ |
| tls-enabled | Enable or disable TLS | boolean | true | ☒ | ☐ |
| Property | Summary | Type | Default value | Mutable | Nullable |
|---|---|---|---|---|---|
| idle-timeout | Expire the connection after a period of inactivity | duration | null | ☒ | ☒ |
| max-sessions | Limit the number of active sessions | ushort | null | ☒ | ☒ |
| max-frame-size | Limit the size of AMQP frames | uint | null | ☒ | ☒ |