Interface ConnectionConstructorOptions

Options for creating a new instance of a Connection object.

Remarks

This interface extends the amqplib.Options.Connect interface.

Hierarchy

  • Connect
    • ConnectionConstructorOptions

Properties

frameMax?: number

The maximum frame size to use for the connection.

heartbeat?: number

The heartbeat interval to use for the connection.

hostname?: string

The hostname of the server to connect to.

locale?: string

The locale to use for the connection.

password?: string

The password to use for authentication.

port?: number

The port number to connect to.

protocol?: string

The protocol to use for the connection (e.g. 'amqp' or 'amqps').

username?: string

The username to use for authentication.

vhost?: string

The virtual host to use for the connection.