Optional
acquireOptional
connectionCustom name for the connection, visible in the server's management UI
Optional
connectionMax wait time, in milliseconds, for a connection attempt
10_000
Optional
frameMax size, in bytes, of AMQP data frames. Protocol max is 2^32-1. Actual value is negotiated with the server.
4096
Optional
heartbeatPeriod of time, in seconds, after which the TCP connection
should be considered unreachable. Server may have its own max value, in
which case the lowest of the two is used. A value of 0 will disable this
feature. Heartbeats are sent every heartbeat / 2
seconds, so two missed
heartbeats means the connection is dead.
60
Optional
hostnameOptional
hosts"hostname:port" of multiple nodes in a cluster
Optional
maxMaximum active AMQP channels. 65535 is the protocol max. The server may also have a max value, in which case the lowest of the two is used.
2047
Optional
noDisable Nagle's algorithm for reduced latency. Disabling Nagle’s algorithm will enable the application to have many small packets in flight on the network at once, instead of a smaller number of large packets, which may increase load on the network, and may or may not benefit the application performance.
Optional
passwordOptional
portOptional
retryMax delay, in milliseconds, for exponential-backoff when reconnecting
30_000
Optional
retryStep size, in milliseconds, for exponential-backoff when reconnecting
1000
Optional
socketAdditional options when creating the TCP socket with net.connect().
Optional
tlsEnable TLS, or set TLS specific options like overriding the CA for self-signed certificates. Automatically enabled if url starts with "amqps:"
Optional
urlMay also include params: heartbeat, connection_timeout, channel_max
"amqp://guest:guest@localhost:5672"
Optional
usernameOptional
vhostGenerated using TypeDoc
Milliseconds to wait before aborting a Channel creation attempt, i.e. acquire()
Default