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