https://github.com/harshanalluru/sb-user-issue-8437
https://github.com/harshanalluru/sb-user-issue-8437
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/harshanalluru/sb-user-issue-8437
- Owner: HarshaNalluru
- Created: 2020-04-22T21:01:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T21:29:48.000Z (over 5 years ago)
- Last Synced: 2025-02-09T22:25:36.455Z (8 months ago)
- Language: TypeScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sb-user-issue-8437
Github issue - https://github.com/Azure/azure-sdk-for-js/issues/8437Prerequisites
1. Create 2 servicebus namespaces
2. Both with
- a queue "queue-name"
- a topic "topic-name"
- a subscription for that topic "subscription-name" with auto-forward to "queue-name"
3. Populate the connection-string values in `sample.ts`(from https://github.com/HarshaNalluru/sb-user-issue-8437/pull/1/files), update the entity names if you picked different names.Running the sample
1. Install `@azure/service-bus@1.1.5`
2. Run `ts-node sample.ts`Steps to repro the user-issue
1. By default, the sample picks up namespace-1 to send messages to the topic
2. Delete the topic in namespace-1, this would make the code send messages to namespace-2
3. Both the receivers are active through out the time
4. Recreate topic in namespace-1 (and the subscription with auto-forwarding)
5. Delete the topic in namespace-2, this would make the code send messages to namespace-1 again