Type Definitions
-
Channel
-
A Channel object, part of the amqplib. Search amqplib documentation for more information
Type:
- Object
- Source:
-
customLogger
-
The configuration object that must be passed for an amqp connection string to be properly built
Type:
- Object
- Source:
Properties:
Name Type Description errorfunction custom implementation of customLogger.error
infofunction custom implementation of customLogger.info
debugfunction custom implementation of customLogger.debug
fatalfunction custom implementation of customLogger.fatal
tracefunction custom implementation of customLogger.trace
warnfunction custom implementation of customLogger.warn
-
RabbitConfiguration
-
The configuration object that must be passed for an amqp connection string to be properly built
Type:
- Object
- Source:
Properties:
Name Type Description rabbitmqserverString RabbitMqServer string IP or Domain.
rabbitmqportNumber RabbitMqServer Port.
rabbitmqusernameString RabbitMqServer username.
rabbitmqpasswordString RabbitMqServer password.
rabbitheartbeatNumber optional, sets the client heartbeat with the server. Helps prevent TCP timeouts if rabbit server does not have heartbeat service enabled
vhostString RabbitMqServer vhost.
-
RabbitHandler
-
The configuration object that must be passed for an amqp connection string to be properly built
Type:
- Object
- Source:
Properties:
Name Type Description handlerFunctionfunction The callback function that messages will be returned and processed on
queueConfigString The queue that it will connect to ex "My.First.Queue"
messageRateNumber The amount of messages that can be received at a time. Once this amount of messages is ack more will come in (if available)
-
RabbitHandlers
-
An array of RabbitHandlers, each rabbit handler has a configuration for a queue to connect to
Type:
- Array.<RabbitHandler>
- Source: