@platform-x/hep-message-broker-client 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -154,8 +154,7 @@ class MessageBroker {
|
|
|
154
154
|
configManager.loadConfig(RABBITMQ === null || RABBITMQ === void 0 ? void 0 : RABBITMQ.CONFIG_PATH);
|
|
155
155
|
const secret = yield (0, __1.getIAMSecrets)();
|
|
156
156
|
let url = `amqp://${secret === null || secret === void 0 ? void 0 : secret[constants_1.SECRET_KEYS.RABBITMQ_USER]}:${secret === null || secret === void 0 ? void 0 : secret[constants_1.SECRET_KEYS.RABBITMQ_PASS]}@${RABBITMQ === null || RABBITMQ === void 0 ? void 0 : RABBITMQ.HOST}`;
|
|
157
|
-
|
|
158
|
-
logger_1.Logger.info(secret, 'createConnection');
|
|
157
|
+
// console.log(SECRET_KEYS.RABBITMQ_USER, SECRET_KEYS.RABBITMQ_PASS);
|
|
159
158
|
// const url = `amqp://${RABBITMQ.USER}:${RABBITMQ.PASS}@${RABBITMQ.HOST}:${RABBITMQ.PORT}`;
|
|
160
159
|
this.connection = yield amqp.connect(url, { heartbeat: RABBITMQ.HEARTBEAT });
|
|
161
160
|
this.channel = yield this.connection.createConfirmChannel();
|