Skip to content
Snippets Groups Projects
Commit 53c7a62c authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Implementing persistent messages in RabbitMQ queues.

parent 9ef3183c
Branches
Tags
No related merge requests found
Pipeline #
......@@ -21,7 +21,7 @@ export class EmailService {
ch.assertQueue(mailerQueue, { durable: true });
ch.sendToQueue(mailerQueue, buffer);
ch.sendToQueue(mailerQueue, buffer, { persistent: true });
Logger.log(`sent to queue ${mailerQueue}: ${JSON.stringify(email)}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment