Skip to content

Commit 417c2be

Browse files
fix: enhancement azure service - supports topic/subscriptions
1 parent 50c432c commit 417c2be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nestjstools/messaging-azure-service-bus-extension",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Extension to handle messages and dispatch them over Azure service bus",
55
"author": "Sebastian Iwanczyszyn",
66
"private": false,

src/channel/azure-service-bus-channel.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export class AzureServiceBusChannelConfig extends ChannelConfig {
2424
super(name, avoidErrorsForNotExistedHandlers, middlewares, enableConsumer, normalizer)
2525
this.queue = queue;
2626
this.connectionString = connectionString;
27-
this.queue = queue ?? Mode.QUEUE;
28-
this.mode = mode;
27+
this.queue = queue;
28+
this.mode = mode ?? Mode.QUEUE;
2929
this.topic = topic;
3030
this.subscription = subscription;
3131
this.autoCreate = autoCreate ?? false;

0 commit comments

Comments
 (0)