Global

Type Definitions

AmqpURI

Source:
Type:
  • string

ChannelName

Source:
Type:
  • string

Configuration

Common configuration for instances.

Properties:
Name Type Description
printMessages boolean

if true, the messages will be printed if logging is enabled. Defaults to true.

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 257.

queueArguments QueueArguments
connectionOptions ConnectionOptions
Source:

ConnectionOptions

Properties:
Name Type Description
heartbeat number

the period of the connection heartbeat, in seconds. Defaults to 60

Source:
Type:
  • Object

QueueArguments

Options applied when asserting Queues.

Properties:
Name Type Description
messageTtl number

0 <= n < 2^32 expires messages arriving in the queue after n milliseconds

expires number

0 < n < 2^32 the queue will be destroyed after n milliseconds of disuse, where use means having consumers, being declared

maxLength number

sets a maximum number of messages the queue will hold

maxPriority number

makes the queue a priority queue

Source:
Type:
  • Object