Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Notification v1.0.8
- Fixed the issue where channel was not being closed when a message was published in a delayed queue.

## Notfication v1.0.7
- Support of delayed messages.
- Support of fanout exchanges for broadcasting.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.7
1.0.8
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ostdotcom/notification",
"version": "1.0.7",
"version": "1.0.8",
"description": "OST Notification helps publish critical events using EventEmitter and RabbmitMQ.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions services/rmqPublish/topic.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ class RmqPublishByTopic {

ch.publish(oThis.delayedExchangeName, q.queue, new Buffer(msgString), { persistent: true });
console.log(' [x] Sent to DLX "', oThis.delayedExchangeName, '" with routing key', currTopic);

ch.close();
}
);
}
Expand Down
Loading