Type Definitions
Configuration
Common configuration for instances.
Properties:
| Name | Type | Description |
|---|---|---|
printMessages |
boolean
|
if true, the messages will be printed if logging is enabled. Defaults to |
maxMessageLengthToPrint |
number
|
if the messages are to printed, this is the max
number of bytes that a message can be to be printed. Defaults to |
queueArguments |
QueueArguments
|
|
connectionOptions |
ConnectionOptions
|
ConnectionOptions
Properties:
| Name | Type | Description |
|---|---|---|
heartbeat |
number
|
the period of the connection heartbeat, in seconds. Defaults to |
Type:
-
Object
QueueArguments
Options applied when asserting Queues.
Properties:
| Name | Type | Description |
|---|---|---|
messageTtl |
number
|
|
expires |
number
|
|
maxLength |
number
|
sets a maximum number of messages the queue will hold |
maxPriority |
number
|
makes the queue a priority queue |
Type:
-
Object