[BUG] Create a Service Bus Subscription with a default Rule #37856
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Bus
Describe the bug
When creating a new Subscription with a first Rule, the Rule isn't taken into account a the default Rule is created.
The method called is
ServiceBusAdministrationClient. createSubscription(String topicName, String subscriptionName, String ruleName, CreateSubscriptionOptions subscriptionOptions, CreateRuleOptions ruleOptions)
.It works if I create a new Subscription, then create the Rule, then delete the default Rule. But the Subscription can collect other messages (see this issue: #29885).
The HTTP payload seems correct, it contains all the rule informations. So the problem is maybe on the server side.
Exception or Stack Trace
No error or exception is raised.
To Reproduce
Execute the code snippet.
Code Snippet
Expected behavior
The default Rule isn't created, the specified Rule is created.
Setup:
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: