Variables
Const RABBITMQ_DEBUG_CONSOLE
RABBITMQ_DEBUG_CONSOLE: boolean = process.env.RABBITMQ_DEBUG_CONSOLE === 'true'
Const RABBITMQ_ENCONDING_CHARSET
RABBITMQ_
ENCONDING_CHARSET: Encoding = (process.env.RABBITMQ_ENCONDING_CHARSET as Encoding) || 'utf-8'
Const RABBITMQ_INTERVAL_CONNECTION_CHECK
RABBITMQ_INTERVAL_CONNECTION_CHECK: number = process.env.RABBITMQ_INTERVAL_CONNECTION_CHECK? parseInt(process.env.RABBITMQ_INTERVAL_CONNECTION_CHECK, 10): 100
Const RABBITMQ_RETRIES_INTERVAL
RABBITMQ_RETRIES_INTERVAL: number = process.env.RABBITMQ_RETRIES_INTERVAL? parseInt(process.env.RABBITMQ_RETRIES_INTERVAL, 10): 1000
Const RABBITMQ_ROUTINGKEY_PREFIX
RABBITMQ_ROUTINGKEY_PREFIX: string = process.env.RABBITMQ_ROUTINGKEY_PREFIX || 'api'
Const RABBITMQ_URL
RABBITMQ_URL: string = process.env.RABBITMQ_URL || 'amqp://admin:password@localhost:5672'
Unique Execution Library Copyright (C) 2020 E01-AIO Automação Ltda.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Author: Nelio Santos nsfilho@icloud.com