more fields
This commit is contained in:
+2
-1
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user