more fields

This commit is contained in:
Lei PAN
2024-03-19 10:57:33 +01:00
parent 9fc60661da
commit 87a5c785f1
+2 -1
View File
@@ -4,6 +4,7 @@ const QUEUE_HOST = "amqp://appointment:ZyuhJZ2xEYWhElhpJjy7YEpZGZwNYJz2fHIu@appo
const REQUEST_DATA_QUEUE_FR = 'REQUEST_DATA'; const REQUEST_DATA_QUEUE_FR = 'REQUEST_DATA';
const REQUEST_DATA_QUEUE_DE = 'REQUEST_DATA_DE'; const REQUEST_DATA_QUEUE_DE = 'REQUEST_DATA_DE';
const REQUEST_DATA_OBJECT = "REQUEST_DATA_OBJECT" const REQUEST_DATA_OBJECT = "REQUEST_DATA_OBJECT"
const TEST_QUEUE = "TEST_QUEUE"
class Sender { class Sender {
channel; channel;
@@ -22,7 +23,7 @@ class Sender {
} }
} }
module.exports = {Sender, REQUEST_DATA_OBJECT} module.exports = {Sender, REQUEST_DATA_OBJECT, TEST_QUEUE}
// let sender = new Sender() // let sender = new Sender()
// sender.initConnection().then((r) => { // sender.initConnection().then((r) => {