revert
This commit is contained in:
parent
079362b1d0
commit
0122d62614
1 changed files with 3 additions and 3 deletions
|
|
@ -36,9 +36,9 @@ export async function init() {
|
|||
});
|
||||
};
|
||||
|
||||
// sendToQueueOrg = (payload: any, persistent = true) => {
|
||||
// channel.sendToQueue(queue_org, Buffer.from(JSON.stringify(payload)), { persistent });
|
||||
// };
|
||||
sendToQueueOrg = (payload: any, persistent = true) => {
|
||||
channel.sendToQueue(queue_org, Buffer.from(JSON.stringify(payload)), { persistent });
|
||||
};
|
||||
|
||||
console.log("[AMQ] Listening for message...");
|
||||
createConsumer(queue, channel, handler), //----> (3) Process Consumer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue