Skip to content

Topic or Queue ServiceBus Azure

Bernardo Teixeira edited this page Oct 24, 2021 · 1 revision

Because you can use Topics with Subscription or Queue you need to specify what you will use.

Queue

If you want to use Queue, you just need to add the value for the QueueOrTopic and put it "true" in the IsQueue property.

 "ServiceBus": {
    "ComplementaryConfig": {
      "QueueOrTopic": "queuetest01",
      "IsQueue": "true",
      "SubscriptionName": "",
      "ConnectionString": "your Key"
    }

Topics

If you want to use Topics, you just need to add the value for the QueueOrTopic, put it "false" in the IsQueue property, and add the SubscriptionName.

 "ServiceBus": {
    "ComplementaryConfig": {
      "QueueOrTopic": "topictest01",
      "IsQueue": "false",
      "SubscriptionName": "Subscriptiontest01",
      "ConnectionString": "your Key"
    }