We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b814045 commit 77b55acCopy full SHA for 77b55ac
.releases/4.17.0.md
@@ -1,3 +1,4 @@
1
**New Features**
2
3
-* Added the ability to specify an `identifier` when instantiating the `AwsRouter` or `AwsPublisher` classes.
+* Added the ability to specify an `identifier` when instantiating the `AwsRouter` or `AwsPublisher` classes.
4
+* Adjusted the logic used by the `AwsRouter` to name an SQS queue that is used to subscribe to an SNS topic.
messaging/publishers/AwsPublisher.js
@@ -202,6 +202,10 @@ module.exports = (() => {
202
const messageTypeRegex = /(.*)#(.*)$/;
203
204
function getSubscriptionQueue(topic) {
205
+ if (topic.endsWith(this._publisherId)) {
206
+ return topic;
207
+ }
208
+
209
return `${topic}-${this._publisherId}`;
210
}
211
0 commit comments